Ignore:
Timestamp:
28 Sep 2012, 08:21:08 (12 years ago)
Author:
Henrik Bettermann
Message:

Postgraduate students must not register their course lists.

File:
1 edited

Legend:

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

    r9217 r9252  
    20582058    @action(_('Register course list'), style='primary')
    20592059    def registerCourses(self, **data):
     2060        if self.context.student.is_postgrad:
     2061            self.flash(_(
     2062                "You are a postgraduate student, "
     2063                "your course list can't bee registered."))
     2064            self.redirect(self.url(self.context))
     2065            return
    20602066        if self.total_credits > self.max_credits:
    20612067            self.flash(_('Maximum credits of ${a} exceeded.',
Note: See TracChangeset for help on using the changeset viewer.