Ignore:
Timestamp:
25 Jun 2013, 04:03:45 (11 years ago)
Author:
Henrik Bettermann
Message:

Put note on slip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py

    r10375 r10378  
    2020import grok
    2121from waeup.kofa.applicants.browser import ApplicantRegistrationPage
    22 from kofacustom.nigeria.applicants.browser import NigeriaApplicantDisplayFormPage
     22from kofacustom.nigeria.applicants.browser import (
     23    NigeriaApplicantDisplayFormPage,
     24    NigeriaPDFApplicationSlip)
     25
     26from waeup.uniben.interfaces import MessageFactory as _
    2327
    2428PASTQ_ALL = ['ADT','EPCS','ESM','HEK','VTE']
     
    7983               and self.context.course1.__parent__.__parent__.code in PASTQ_MSS
    8084
     85class CustomNigeriaPDFApplicationSlip(NigeriaPDFApplicationSlip):
    8186
     87
     88    @property
     89    def note(self):
     90        if self.target is not None and not self.target.startswith('pg') \
     91            and not self._reduced_slip():
     92            return _(u'<br /><br /><br />'
     93                      'Comfirm your exam venue 72 hours to the exam.')
     94        return
     95
     96
Note: See TracChangeset for help on using the changeset viewer.