Changeset 10811 for main/waeup.kofa/trunk/src
- Timestamp:
- 29 Nov 2013, 08:25:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r10810 r10811 664 664 grok.view(PaymentsManageFormPage) 665 665 grok.require('waeup.payStudent') 666 grok.name('addpreviouspaymentactionbutton') 666 667 text = _('Add previous session payment ticket') 667 668 target = 'addpp' … … 670 671 def target_url(self): 671 672 student = self.view.context.student 672 if student.before_payment :673 if student.before_payment or not self.target: 673 674 return '' 674 675 return self.view.url(self.view.context, self.target)
Note: See TracChangeset for help on using the changeset viewer.