Changeset 13130 for main/kofacustom.nigeria/trunk/src
- Timestamp:
- 1 Jul 2015, 20:22:44 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py
r13058 r13130 222 222 slip = getUtility(IExtFileStore).getFileByContext( 223 223 self.context, 'application_slip') 224 P WCHANGE_STATES = getUtility(IStudentsUtils).PWCHANGE_STATES225 if self.context.state not in P WCHANGE_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: 226 226 return '' 227 227 return self.view.url(self.view.context, self.target) … … 239 239 slip = getUtility(IExtFileStore).getFileByContext( 240 240 self.context, 'application_slip') 241 P WCHANGE_STATES = getUtility(IStudentsUtils).PWCHANGE_STATES242 if self.context.state not in P WCHANGE_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: 243 243 emit_lock_message(self) 244 244 return
Note: See TracChangeset for help on using the changeset viewer.