Changeset 17060 for main/waeup.uniben/trunk/src
- Timestamp:
- 9 Aug 2022, 16:44:04 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r17049 r17060 797 797 class CustomStudentFilesUploadPage(NigeriaStudentFilesUploadPage): 798 798 """ View to upload passport picture. 799 800 Students are not allowed to change the picture if they 801 passed the regular Kofa application. 802 """ 803 804 def update(self): 805 # Uniben: Only 2020 session students are allowed to edit the picture. 806 if self.context.entry_session != 2020: 799 """ 800 801 def update(self): 802 ## Uniben: Only 2020 session students are allowed to edit the picture. 803 #if self.context.entry_session != 2020: 804 # emit_lock_message(self) 805 # return 806 #if self.context.entry_mode not in ('ug_ft', 'de_ft'): 807 # emit_lock_message(self) 808 # return 809 if self.context.is_jupeb: 807 810 emit_lock_message(self) 808 return 809 if self.context.entry_mode not in ('ug_ft', 'de_ft'): 810 emit_lock_message(self) 811 return 811 return 812 812 PORTRAIT_CHANGE_STATES = getUtility(IStudentsUtils).PORTRAIT_CHANGE_STATES 813 813 if self.context.state not in PORTRAIT_CHANGE_STATES:
Note: See TracChangeset for help on using the changeset viewer.