Ignore:
Timestamp:
30 May 2012, 20:37:11 (12 years ago)
Author:
Henrik Bettermann
Message:

Catch up on changes made in waeup.uniben.

File:
1 edited

Legend:

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

    r8531 r8566  
    3939    ICustomApplicantOnlinePayment, IPUTMEApplicantEdit,
    4040    UG_OMIT_DISPLAY_FIELDS, PG_OMIT_DISPLAY_FIELDS,
     41    UG_OMIT_PDF_FIELDS, PG_OMIT_PDF_FIELDS,
    4142    UG_OMIT_MANAGE_FIELDS, PG_OMIT_MANAGE_FIELDS,
    4243    UG_OMIT_EDIT_FIELDS, PG_OMIT_EDIT_FIELDS, PUTME_OMIT_EDIT_FIELDS)
     
    6465class CustomPDFApplicationSlip(PDFApplicationSlip):
    6566
     67    note = _(u'<br /><br /><br />'
     68              'Comfirm your exam venue 72 hours to the exam.')
     69
    6670    @property
    6771    def form_fields(self):
     
    6973        if target is not None and target.startswith('pg'):
    7074            form_fields = grok.AutoFields(IPGApplicant)
    71             for field in PG_OMIT_DISPLAY_FIELDS:
     75            for field in PG_OMIT_PDF_FIELDS:
    7276                form_fields = form_fields.omit(field)
    7377        else:
    7478            form_fields = grok.AutoFields(IUGApplicant)
    75             for field in UG_OMIT_DISPLAY_FIELDS:
     79            for field in UG_OMIT_PDF_FIELDS:
    7680                form_fields = form_fields.omit(field)
    7781        return form_fields
Note: See TracChangeset for help on using the changeset viewer.