- Timestamp:
- 10 Sep 2026, 21:06:00 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/viewlets.py
r18299 r18328 28 28 StudyLevelDisplayFormPage) 29 29 from waeup.kofa.students.viewlets import AdmissionSlipActionButton 30 from waeup.kofa.students.workflow import GRADUATED 30 31 31 32 from kofacustom.nigeria.interfaces import MessageFactory as _ … … 46 47 #if not self.context.state in : 47 48 # return '' 49 return self.view.url(self.view.context, self.target) 50 51 class ResultNotificationActionButton(ManageActionButton): 52 grok.order(11) 53 grok.context(ICustomStudent) 54 grok.view(StudentBaseDisplayFormPage) 55 grok.require('waeup.manageStudent') 56 text = _('Download Notification of Result') 57 target = 'notificationofresult' 58 icon = 'actionicon_student.png' 59 60 @property 61 def target_url(self): 62 if not self.context.state in (GRADUATED,): 63 return '' 48 64 return self.view.url(self.view.context, self.target) 49 65
Note: See TracChangeset for help on using the changeset viewer.
