- Timestamp:
- 14 Mar 2012, 09:35:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r7876 r7878 322 322 return self.view.url(self.view.context, self.target) 323 323 324 class InterswitchActionButton(ManageActionButton):325 grok.order(3)326 grok.context(IStudentOnlinePayment)327 grok.view(OnlinePaymentDisplayFormPage)328 grok.require('waeup.payStudent')329 icon = 'actionicon_pay.png'330 text = _('CollegePAY')331 target = 'goto_interswitch'332 333 @property334 def target_url(self):335 if self.context.p_state != 'unpaid':336 return ''337 return self.view.url(self.view.context, self.target)338 339 324 class AddBedTicketActionButton(ManageActionButton): 340 325 grok.order(1)
Note: See TracChangeset for help on using the changeset viewer.