Changeset 15213
- Timestamp:
- 1 Nov 2018, 08:17:29 (6 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r15210 r15213 1477 1477 def update(self): 1478 1478 super(StudyLevelDisplayFormPage, self).update() 1479 if self.context.level == 0: 1480 self.form_fields = self.form_fields.omit('gpa') 1479 1481 return 1480 1482 … … 1499 1501 grok.name('course_registration_slip.pdf') 1500 1502 grok.require('waeup.viewStudent') 1501 form_fields = grok.AutoFields(IStudentStudyLevel).omit('level' )1503 form_fields = grok.AutoFields(IStudentStudyLevel).omit('level', 'gpa') 1502 1504 form_fields[ 1503 1505 'validation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') -
main/waeup.kofa/trunk/src/waeup/kofa/students/studycourse.py
r15173 r15213 127 127 total_credits_counted = 0 128 128 for level_key, level_val in self.items(): 129 # Skip Level Zero 130 if level_key == '0': 131 continue 129 132 tickets_1 = [] 130 133 tickets_2 = []
Note: See TracChangeset for help on using the changeset viewer.