Changeset 11754 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 9 Jul 2014, 05:12:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r11738 r11754 738 738 + ' %s' % self.context.p_id 739 739 740 @property 741 def payment_slip_download_warning(self): 742 if self.context.__parent__.state != SUBMITTED: 743 return _('Please submit the application form before ' 744 'trying to download payment slips.') 745 return '' 746 740 747 def render(self): 741 if self.context.__parent__.state != SUBMITTED: 742 self.flash(_('Please submit the application form before ' 743 'trying to download payment slips.'), type='warning') 748 if self.payment_slip_download_warning: 749 self.flash(self.payment_slip_download_warning, type='danger') 744 750 self.redirect(self.url(self.context)) 745 751 return
Note: See TracChangeset for help on using the changeset viewer.