Changeset 10632 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 21 Sep 2013, 06:05:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r10631 r10632 3047 3047 """ 3048 3048 grok.context(ICourse) 3049 grok.require('waeup. manageStudent')3049 grok.require('waeup.editScores') 3050 3050 grok.name('edit_scores') 3051 3051 grok.template('editscorespage') … … 3071 3071 self.current_academic_session = grok.getSite()[ 3072 3072 'configuration'].current_academic_session 3073 if not self.current_academic_session: 3074 self.flash(_('Current academic session not set.')) 3075 self.redirect(self.url(self.context)) 3076 return 3073 3077 datatable.need() 3074 3078 self.tickets = self._searchCatalog(self.current_academic_session) … … 3077 3081 if not self.tickets: 3078 3082 self.flash(_('No student found.')) 3083 self.redirect(self.url(self.context)) 3079 3084 return 3080 3085 if 'UPDATE' in form:
Note: See TracChangeset for help on using the changeset viewer.