Changeset 15340 for main/waeup.aaue/trunk/src
- Timestamp:
- 6 Mar 2019, 08:01:14 (6 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r15330 r15340 530 530 531 531 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 532 536 try: 533 537 studylevel_repair_enabled = grok.getSite()['configuration'][ -
main/waeup.aaue/trunk/src/waeup/aaue/students/viewlets.py
r15330 r15340 186 186 except KeyError: 187 187 return '' 188 if not studylevel_repair_enabled: 188 if not studylevel_repair_enabled \ 189 or self.context.student.studycourse_locked: 189 190 return '' 190 191 return self.view.url(self.view.context, self.target)
Note: See TracChangeset for help on using the changeset viewer.