Changeset 9376 for main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
- Timestamp:
- 21 Oct 2012, 21:04:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py
r9249 r9376 32 32 OnlinePaymentDisplayFormPage, OnlinePaymentAddFormPage, 33 33 OnlinePaymentBreadcrumb, ExportPDFPaymentSlipPage, 34 ExportPDFCourseRegistrationSlipPage, 35 ExportPDFBedTicketSlipPage, 34 36 StudentFilesUploadPage, emit_lock_message) 35 37 from waeup.kofa.students.viewlets import ( … … 69 71 'email', 'phone') 70 72 71 72 73 class NigeriaStudentPersonalDisplayFormPage(StudentPersonalDisplayFormPage): 73 74 """ Page to display student personal data … … 77 78 form_fields['next_kin_address'].custom_widget = BytesDisplayWidget 78 79 79 80 80 class NigeriaStudentPersonalEditFormPage(StudentPersonalEditFormPage): 81 81 """ Page to edit personal data … … 83 83 form_fields = grok.AutoFields(INigeriaStudentPersonal) 84 84 85 86 85 class NigeriaStudentPersonalManageFormPage(StudentPersonalManageFormPage): 87 86 """ Page to edit personal data … … 89 88 form_fields = grok.AutoFields(INigeriaStudentPersonal) 90 89 91 92 90 class NigeriaStudentClearanceDisplayFormPage(StudentClearanceDisplayFormPage): 93 91 """ Page to display student clearance data … … 107 105 """Deliver a PDF slip of the context. 108 106 """ 107 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex', 'email') 109 108 110 109 @property … … 158 157 return False 159 158 159 class NigeriaExportPDFCourseRegistrationSlipPage(ExportPDFCourseRegistrationSlipPage): 160 """Deliver a PDF slip of the context. 161 """ 162 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex', 'email') 163 160 164 class NigeriaOnlinePaymentDisplayFormPage(OnlinePaymentDisplayFormPage): 161 165 """ Page to view an online payment ticket … … 180 184 has to be neutralized here! 181 185 """ 182 183 186 grok.name('fake_approve') 184 187 grok.require('waeup.managePortal') … … 194 197 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 195 198 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 199 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex', 'email') 200 201 class NigeriaExportPDFBedTicketSlipPage(ExportPDFBedTicketSlipPage): 202 """Deliver a PDF slip of the context. 203 """ 204 omit_fields = ('password', 'suspended', 'phone', 'adm_code', 'sex', 'email') 196 205 197 206 class StudentPassportActionButton(StudentPassportActionButton):
Note: See TracChangeset for help on using the changeset viewer.