Changeset 16362 for main/waeup.uniben/trunk/src/waeup
- Timestamp:
- 10 Jan 2021, 22:39:51 (4 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/browser.py
r16361 r16362 748 748 749 749 def update(self): 750 # Uniben: Only 2020 session students are allowed to edit the picture. 751 if self.context.entry_session != 2020: 752 emit_lock_message(self) 753 return 750 754 # Passport pictures must not be editable if application slip 751 755 # exists. -
main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py
r16361 r16362 33 33 from waeup.uniben.students.interfaces import ( 34 34 ICustomStudentStudyCourse, ICustomStudentStudyLevel, 35 ICustomStudent, 35 ICustomStudent,) 36 36 37 37 from kofacustom.nigeria.interfaces import MessageFactory as _ … … 47 47 @property 48 48 def target_url(self): 49 # Uniben: Only 2020 session students are allowed to edit the picture. 50 if self.context.entry_session != 2020: 51 return '' 49 52 # Passport pictures must not be editable if application slip 50 53 # exists.
Note: See TracChangeset for help on using the changeset viewer.