- Timestamp:
- 11 Oct 2022, 15:44:02 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py
r16906 r17125 57 57 @property 58 58 def target_url(self): 59 # Uniben: Only 2020 session students are allowed to edit the picture.60 if self.context.entry_session != 2020:61 return ''62 59 if self.context.entry_mode not in ('ug_ft', 'de_ft'): 63 60 return '' 61 if self.context.is_jupeb: 62 emit_lock_message(self) 63 return 64 64 PORTRAIT_CHANGE_STATES = getUtility(IStudentsUtils).PORTRAIT_CHANGE_STATES 65 65 if self.context.state not in PORTRAIT_CHANGE_STATES:
Note: See TracChangeset for help on using the changeset viewer.