Ignore:
Timestamp:
6 Mar 2019, 08:01:14 (6 years ago)
Author:
Henrik Bettermann
Message:

Disable repair function if studycourse is locked.

File:
1 edited

Legend:

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

    r15330 r15340  
    530530
    531531    def update(self, ADD=None, course=None):
     532        if not self.context.__parent__.is_current \
     533            or self.context.student.studycourse_locked:
     534            emit_lock_message(self)
     535            return
    532536        try:
    533537            studylevel_repair_enabled = grok.getSite()['configuration'][
Note: See TracChangeset for help on using the changeset viewer.