- Timestamp:
- 24 Nov 2014, 08:15:54 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r11976 r12048 554 554 555 555 class StudentTriggerTransitionFormPage(KofaEditFormPage): 556 """ View to manage student base data556 """ View to trigger student workflow transitions 557 557 """ 558 558 grok.context(IStudent) … … 2675 2675 students_utils = getUtility(IStudentsUtils) 2676 2676 max_credits = students_utils.maxCredits(self.context) 2677 if self.context.total_credits > max_credits:2677 if max_credits and self.context.total_credits > max_credits: 2678 2678 self.flash(_('Maximum credits of ${a} exceeded.', 2679 2679 mapping = {'a':max_credits}), type="warning")
Note: See TracChangeset for help on using the changeset viewer.