- Timestamp:
- 27 Oct 2022, 20:51:43 (2 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r17112 r17145 674 674 675 675 # Uniben prefix 676 STUDENT_ID_PREFIX = u'B' 676 @property 677 def STUDENT_ID_PREFIX(self): 678 if grok.getSite().__name__ == 'uniben-cdl': 679 return u'C' 680 return u'B' 677 681 678 682 STUDENT_EXPORTER_NAMES = ( -
main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py
r17143 r17145 58 58 def target_url(self): 59 59 if self.context.is_jupeb: 60 emit_lock_message(self) 61 return 60 return '' 62 61 PORTRAIT_CHANGE_STATES = getUtility(IStudentsUtils).PORTRAIT_CHANGE_STATES 63 62 if self.context.state not in PORTRAIT_CHANGE_STATES and not self.context.is_postgrad:
Note: See TracChangeset for help on using the changeset viewer.