Changeset 18346


Ignore:
Timestamp:
25 Oct 2026, 17:22:02 (4 weeks ago)
Author:
Henrik Bettermann
Message:

#144

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py

    r18345 r18346  
    941941    def update(self):
    942942        if self.context.student.current_mode == 'ug_ft' \
    943             and self.context.student.current_session == 2026 \
    944             and self.context.student.fullname != 'anna-tester':
    945             emit_lock_message(self)
     943                and self.context.student.current_session == 2026 \
     944                and not self.context.student.is_fresh \
     945                and self.context.student.fullname != 'anna-tester':
     946            self.flash('Course registration for the current academic session is not yet open. Please check back later.', type="warning")
     947            self.redirect(view.url(view.context))
    946948            return
    947949        super(CustomAddStudyLevelFormPage, self).update()
Note: See TracChangeset for help on using the changeset viewer.