Ignore:
Timestamp:
24 Oct 2017, 05:59:08 (7 years ago)
Author:
Henrik Bettermann
Message:

Customite StartClearancePage?.

File:
1 edited

Legend:

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

    r14716 r14873  
    2626from waeup.kofa.browser.layout import action, jsaction
    2727from waeup.kofa.students.browser import (
    28     StudyLevelEditFormPage, StudyLevelDisplayFormPage,
    29     StudentBasePDFFormPage, ExportPDFCourseRegistrationSlip,
    30     CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage,
    31     msave, emit_lock_message)
     28    StartClearancePage)
    3229from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket
    3330from waeup.kofa.students.workflow import FORBIDDEN_POSTGRAD_TRANS
     
    4643from kofacustom.dspg.interfaces import MessageFactory as _
    4744
     45
     46class CustomStartClearancePage(StartClearancePage):
     47
     48    @property
     49    def with_ac(self):
     50        if self.context.current_mode == 'hnd_ft':
     51            return False
     52        return True
Note: See TracChangeset for help on using the changeset viewer.