Changeset 11772 for main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
- Timestamp:
- 31 Jul 2014, 04:38:23 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r11641 r11772 910 910 return bedticket.bed_coordinates 911 911 912 def clearance_disabled_message(self, student): 913 try: 914 session_config = grok.getSite()[ 915 'configuration'][str(student.current_session)] 916 except KeyError: 917 return _('Session configuration object is not available.') 918 if not session_config.clearance_enabled: 919 return _('Clearance is disabled for this session.') 920 return None 921 912 922 VERDICTS_DICT = { 913 923 '0': _('(not yet)'),
Note: See TracChangeset for help on using the changeset viewer.