Changeset 10375 for main/waeup.uniben/trunk/src
- Timestamp:
- 24 Jun 2013, 11:00:01 (12 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 1 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r10338 r10375 20 20 import grok 21 21 from waeup.kofa.applicants.browser import ApplicantRegistrationPage 22 from kofacustom.nigeria.applicants.browser import NigeriaApplicant EditFormPage22 from kofacustom.nigeria.applicants.browser import NigeriaApplicantDisplayFormPage 23 23 24 24 PASTQ_ALL = ['ADT','EPCS','ESM','HEK','VTE'] … … 49 49 return 50 50 51 class CustomApplicant EditFormPage(NigeriaApplicantEditFormPage):52 """A full editview for applicant data.51 class CustomApplicantDisplayFormPage(NigeriaApplicantDisplayFormPage): 52 """A display view for applicant data. 53 53 """ 54 grok.template('applicant editpage')54 grok.template('applicantdisplaypage') 55 55 56 56 def _show_pastq(self): 57 57 return self.target.startswith('putme') \ 58 and self.context.state == 'paid'\58 and self.context.state in ('paid', 'submitted') \ 59 59 and getattr(self.context, 'course1') is not None 60 60
Note: See TracChangeset for help on using the changeset viewer.