- Timestamp:
- 2 Aug 2024, 19:38:16 (5 months ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/utils.py
r17811 r17869 56 56 return True 57 57 58 def final_clearance_enabled(self, student): 59 if 'Test' in student.display_fullname: 60 return True 61 return False 62 -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/viewlets.py
r17866 r17869 106 106 @property 107 107 def target_url(self): 108 final_clearance_enabled = getUtility( 109 IStudentsUtils).final_clearance_enabled(self.context) 110 if not final_clearance_enabled: 111 return '' 108 112 if self.context.finally_cleared_by: 109 113 return ''
Note: See TracChangeset for help on using the changeset viewer.