Changeset 10222 for main


Ignore:
Timestamp:
24 May 2013, 07:36:28 (12 years ago)
Author:
Henrik Bettermann
Message:

Add target property also to PDFApplicationSlip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/pdf.py

    r9949 r10222  
    4444        'locked', 'course_admitted')
    4545    form_fields['date_of_birth'].custom_widget = FriendlyDateDisplayWidget('le')
     46
     47    @property
     48    def target(self):
     49        return getattr(self.context.__parent__, 'prefix', None)
    4650
    4751    @property
Note: See TracChangeset for help on using the changeset viewer.