Ignore:
Timestamp:
15 Dec 2020, 08:36:57 (4 years ago)
Author:
Henrik Bettermann
Message:

Reactivate CustomAddStudyLevelFormPage?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r16240 r16353  
    13221322        return
    13231323
    1324 class CustomAddStudyLevelFormPage(AddStudyLevelFormPage):
    1325     """ This page is temporarily locked.
    1326     """
    1327 
    1328     def update(self):
    1329         if self.context.student.current_mode == 'ug_ft' \
    1330             and self.context.student.current_session == 2019:
    1331             emit_lock_message(self)
    1332             return
    1333         super(CustomAddStudyLevelFormPage, self).update()
    1334         return
     1324#class CustomAddStudyLevelFormPage(AddStudyLevelFormPage):
     1325#    """ This page is temporarily locked.
     1326#    """
     1327#    def update(self):
     1328#        if self.context.student.current_mode == 'ug_ft' \
     1329#            and self.context.student.current_session == 2019:
     1330#            emit_lock_message(self)
     1331#            return
     1332#        super(CustomAddStudyLevelFormPage, self).update()
     1333#        return
Note: See TracChangeset for help on using the changeset viewer.