- Timestamp:
- 26 Aug 2022, 08:50:10 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r16968 r17077 1364 1364 return 1365 1365 1366 #class CustomAddStudyLevelFormPage(AddStudyLevelFormPage):1367 #""" This page is temporarily locked.1368 #"""1369 #def update(self):1370 #if self.context.student.current_mode == 'ug_ft' \1371 # and self.context.student.current_session == 2019:1372 #emit_lock_message(self)1373 #return1374 #super(CustomAddStudyLevelFormPage, self).update()1375 #return1366 class CustomAddStudyLevelFormPage(AddStudyLevelFormPage): 1367 """ This page is temporarily locked. 1368 """ 1369 def update(self): 1370 if self.context.student.current_mode == 'ug_ft' \ 1371 and self.context.student.current_session == 2020: 1372 emit_lock_message(self) 1373 return 1374 super(CustomAddStudyLevelFormPage, self).update() 1375 return
Note: See TracChangeset for help on using the changeset viewer.