- Timestamp:
- 22 Jan 2021, 22:49:43 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py
r16364 r16382 35 35 ICustomStudent,) 36 36 37 from waeup.uniben.students.browser import StudentMedicalHistoryEditFormPage 38 37 39 from kofacustom.nigeria.interfaces import MessageFactory as _ 38 40 … … 178 180 return False 179 181 182 class MedicalHistoryActionButton(ManageActionButton): 183 grok.order(12) 184 grok.context(ICustomStudent) 185 grok.view(StudentBaseDisplayFormPage) 186 grok.require('waeup.handleStudent') 187 text = _('Edit medical history') 188 target = 'edit_medical' 189 icon = 'actionicon_medical.png' 190 191 class MedicalHistorySlipActionButton(ManageActionButton): 192 grok.order(1) 193 grok.context(ICustomStudent) 194 grok.view(StudentMedicalHistoryEditFormPage) 195 grok.require('waeup.viewStudent') 196 icon = 'actionicon_pdf.png' 197 text = _('Download medical history slip') 198 target = 'medical_history_slip.pdf' 199 180 200 # JAMB Letter 181 201
Note: See TracChangeset for help on using the changeset viewer.