Changeset 9420 for main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
- Timestamp:
- 25 Oct 2012, 21:52:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9411 r9420 1184 1184 grok.require('waeup.manageStudent') 1185 1185 label = _('Add course ticket') 1186 form_fields = grok.AutoFields(ICourseTicketAdd).omit( 1187 'score', 'automatic', 'carry_over', 'credits', 'passmark') 1186 form_fields = grok.AutoFields(ICourseTicketAdd) 1188 1187 pnav = 4 1189 1188 … … 1222 1221 grok.require('waeup.viewStudent') 1223 1222 form_fields = grok.AutoFields(ICourseTicket) 1224 grok.template('courseticketpage')1225 1223 pnav = 4 1226 1224 … … 1237 1235 grok.name('manage') 1238 1236 grok.require('waeup.manageStudent') 1239 form_fields = grok.AutoFields(ICourseTicket).omit('credits', 'passmark') 1240 grok.template('courseticketmanagepage') 1237 form_fields = grok.AutoFields(ICourseTicket) 1238 form_fields['title'].for_display = True 1239 form_fields['fcode'].for_display = True 1240 form_fields['dcode'].for_display = True 1241 form_fields['semester'].for_display = True 1242 form_fields['passmark'].for_display = True 1243 form_fields['credits'].for_display = True 1244 form_fields['mandatory'].for_display = True 1245 form_fields['automatic'].for_display = True 1241 1246 pnav = 4 1242 1247 … … 2181 2186 grok.name('ctadd') 2182 2187 grok.require('waeup.handleStudent') 2183 form_fields = grok.AutoFields(ICourseTicketAdd).omit( 2184 'score', 'mandatory', 'automatic', 'carry_over', 'credits', 'passmark') 2188 form_fields = grok.AutoFields(ICourseTicketAdd) 2185 2189 2186 2190 def update(self):
Note: See TracChangeset for help on using the changeset viewer.