Ignore:
Timestamp:
24 Jun 2013, 11:00:01 (11 years ago)
Author:
Henrik Bettermann
Message:

Show 'past Questions' link on display page.

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  
    2020import grok
    2121from waeup.kofa.applicants.browser import ApplicantRegistrationPage
    22 from kofacustom.nigeria.applicants.browser import NigeriaApplicantEditFormPage
     22from kofacustom.nigeria.applicants.browser import NigeriaApplicantDisplayFormPage
    2323
    2424PASTQ_ALL = ['ADT','EPCS','ESM','HEK','VTE']
     
    4949        return
    5050
    51 class CustomApplicantEditFormPage(NigeriaApplicantEditFormPage):
    52     """A full edit view for applicant data.
     51class CustomApplicantDisplayFormPage(NigeriaApplicantDisplayFormPage):
     52    """A display view for applicant data.
    5353    """
    54     grok.template('applicanteditpage')
     54    grok.template('applicantdisplaypage')
    5555
    5656    def _show_pastq(self):
    5757        return self.target.startswith('putme') \
    58                and self.context.state == 'paid' \
     58               and self.context.state in ('paid', 'submitted') \
    5959               and getattr(self.context, 'course1') is not None
    6060
Note: See TracChangeset for help on using the changeset viewer.