- Timestamp:
- 17 Jul 2022, 08:50:14 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py
r16977 r17025 29 29 StudyLevelEditFormPage, StudyLevelDisplayFormPage, StudyLevelManageFormPage, 30 30 StudentBasePDFFormPage, ExportPDFCourseRegistrationSlip, 31 CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage, 31 CourseTicketDisplayFormPage, CourseTicketManageFormPage, 32 StudentTriggerTransitionFormPage, 32 33 PaymentsManageFormPage, msave, emit_lock_message) 33 34 from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket … … 49 50 ICustomStudentStudyLevel, 50 51 ICustomUGStudentClearance, 51 ICustomPGStudentClearance) 52 ICustomPGStudentClearance, 53 ICustomCourseTicket) 52 54 from kofacustom.unidel.interfaces import MessageFactory as _ 53 55 … … 151 153 [_('Faculty Officer\'s Signature')], 152 154 [_('Student\'s Signature')]) 155 156 class CustomCourseTicketDisplayFormPage(CourseTicketDisplayFormPage): 157 """ Page to display course tickets 158 """ 159 160 @property 161 def form_fields(self): 162 return grok.AutoFields(ICustomCourseTicket).omit('course_category', 163 'ticket_session') 164 165 class CustomCourseTicketManageFormPage(CourseTicketManageFormPage): 166 """ Page to manage course tickets 167 """ 168 169 form_fields = grok.AutoFields(ICustomCourseTicket).omit('course_category') 170 form_fields['title'].for_display = True 171 form_fields['fcode'].for_display = True 172 form_fields['dcode'].for_display = True 173 form_fields['semester'].for_display = True 174 form_fields['passmark'].for_display = True 175 form_fields['credits'].for_display = True 176 form_fields['mandatory'].for_display = False 177 form_fields['automatic'].for_display = True 178 form_fields['carry_over'].for_display = True 179 form_fields['ticket_session'].for_display = True
Note: See TracChangeset for help on using the changeset viewer.