Ignore:
Timestamp:
31 May 2012, 06:06:29 (12 years ago)
Author:
Henrik Bettermann
Message:

Show note only on ug application slips.

File:
1 edited

Legend:

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

    r8551 r8569  
    6565class CustomPDFApplicationSlip(PDFApplicationSlip):
    6666
    67     note = _(u'<br /><br /><br />'
    68               'Comfirm your exam venue 72 hours to the exam.')
     67    @property
     68    def note(self):
     69        target = getattr(self.context.__parent__, 'prefix', None)
     70        if target is not None and not target.startswith('pg'):
     71            return _(u'<br /><br /><br />'
     72                      'Comfirm your exam venue 72 hours to the exam.')
     73        return
    6974
    7075    @property
Note: See TracChangeset for help on using the changeset viewer.