Changeset 13931 for main/waeup.kofa/branches/uli-scores-upload
- Timestamp:
- 13 Jun 2016, 20:43:03 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-scores-upload/src/waeup/kofa/students/browser.py
r13930 r13931 3118 3118 def update(self, *args, **kw): 3119 3119 form = self.request.form 3120 ob_class = self.__implemented__.__name__.replace('waeup.kofa.', '')3120 ob_class = self.__implemented__.__name__.replace('waeup.kofa.', '') 3121 3121 self.current_academic_session = grok.getSite()[ 3122 3122 'configuration'].current_academic_session … … 3159 3159 ticket.score = score 3160 3160 ticket.student.__parent__.logger.info( 3161 '%s - %s %s/%s score updated (%s)' % 3162 (ob_class, ticket.student.student_id, 3163 ticket.level, ticket.code, score)) 3161 '%s - %s %s/%s score updated (%s)' % ( 3162 ob_class, ticket.student.student_id, 3163 ticket.level, ticket.code, score) 3164 ) 3164 3165 if error: 3165 self.flash(_('Error: Score(s) of %s have not be updated. ' 3166 'Only integers are allowed.' % error.strip(', ')), 3166 self.flash( 3167 _('Error: Score(s) of %s have not be updated. ' 3168 'Only integers are allowed.' % error.strip(', ')), 3167 3169 type="danger") 3168 3170 return
Note: See TracChangeset for help on using the changeset viewer.