Changeset 11733 for main/waeup.kofa


Ignore:
Timestamp:
4 Jul 2014, 11:08:17 (10 years ago)
Author:
Henrik Bettermann
Message:

Method for (customizable) application passport upload requirements added.

Location:
main/waeup.kofa/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r11730 r11733  
    55===================
    66
     7* Method for (customizable) application passport upload requirements added.
     8
    79* Filter payment ticket data exports by specifying the payment_date period.
    810
     
    1012  submitted.
    1113
    12 * Method for additional passport upload requirements added.
     14* Method for (customizable) application payment ticket upload requirements added.
    1315
    1416* Remove unused rowadd javascript function.
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r11729 r11733  
    827827        return getUtility(IApplicantsUtils).SEPARATORS_DICT
    828828
     829    @property
     830    def custom_upload_requirements(self):
     831        return ''
     832
    829833    def update(self):
    830834        super(ApplicantManageFormPage, self).update()
     
    834838        upload = self.request.form.get('form.passport', None)
    835839        if upload:
     840            if self.custom_upload_requirements:
     841                self.flash(
     842                    self.custom_upload_requirements,
     843                    type='danger')
     844                self.redirect(self.url(self.context))
     845                return
    836846            # We got a fresh upload, upload_success is
    837847            # either True or False
Note: See TracChangeset for help on using the changeset viewer.