- Timestamp:
- 16 Aug 2024, 04:52:55 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r17878 r17892 535 535 return text 536 536 537 def warnCreditsOOR(self, studylevel, course=None):537 def deactivated_warnCreditsOOR(self, studylevel, course=None): 538 538 studycourse = studylevel.__parent__ 539 539 certificate = getattr(studycourse,'certificate', None) … … 549 549 return _('Maximum credits exceeded.') 550 550 elif studylevel.total_credits > limit: 551 return _('Maximum credits exceeded.') 552 return 553 554 def warnCreditsOOR(self, studylevel, course=None): 555 if course and studylevel.total_credits + course.credits > 48: 556 return _('Maximum credits exceeded.') 557 elif studylevel.total_credits > 48: 551 558 return _('Maximum credits exceeded.') 552 559 return
Note: See TracChangeset for help on using the changeset viewer.