Changeset 17728 for main/waeup.aaue


Ignore:
Timestamp:
25 Mar 2024, 20:21:48 (6 months ago)
Author:
Henrik Bettermann
Message:

Temporarily disable course registration.

File:
1 edited

Legend:

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

    r17631 r17728  
    13151315    """
    13161316    def update(self):
    1317         #if self.context.student.current_mode == 'ug_ft' \
    1318         #    and self.context.student.current_session == 2022 \
    1319         #    and not self.context.student.entry_session == 2022:
    1320         #    emit_lock_message(self)
    1321         #    return
     1317        if self.context.student.current_mode == 'ug_ft' \
     1318            and self.context.student.current_session <= 2022:
     1319            emit_lock_message(self)
     1320            return
    13221321        super(CustomAddStudyLevelFormPage, self).update()
    13231322        return
Note: See TracChangeset for help on using the changeset viewer.