Ignore:
Timestamp:
1 Jul 2015, 20:22:44 (9 years ago)
Author:
Henrik Bettermann
Message:

Adjust to base package.

File:
1 edited

Legend:

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

    r13058 r13130  
    222222        slip = getUtility(IExtFileStore).getFileByContext(
    223223            self.context, 'application_slip')
    224         PWCHANGE_STATES = getUtility(IStudentsUtils).PWCHANGE_STATES
    225         if self.context.state not in PWCHANGE_STATES or slip is not None:
     224        PORTRAIT_CHANGE_STATES = getUtility(IStudentsUtils).PORTRAIT_CHANGE_STATES
     225        if self.context.state not in PORTRAIT_CHANGE_STATES or slip is not None:
    226226            return ''
    227227        return self.view.url(self.view.context, self.target)
     
    239239        slip = getUtility(IExtFileStore).getFileByContext(
    240240            self.context, 'application_slip')
    241         PWCHANGE_STATES = getUtility(IStudentsUtils).PWCHANGE_STATES
    242         if self.context.state not in PWCHANGE_STATES or slip is not None:
     241        PORTRAIT_CHANGE_STATES = getUtility(IStudentsUtils).PORTRAIT_CHANGE_STATES
     242        if self.context.state not in PORTRAIT_CHANGE_STATES or slip is not None:
    243243            emit_lock_message(self)
    244244            return
Note: See TracChangeset for help on using the changeset viewer.