Changeset 8255 for main/waeup.uniben/trunk/src
- Timestamp:
- 23 Apr 2012, 05:18:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py
r8247 r8255 23 23 from waeup.kofa.browser.layout import KofaPage, UtilityView 24 24 from waeup.kofa.accesscodes import create_accesscode 25 from waeup. kofa.students.interfaces import IStudentOnlinePayment25 from waeup.uniben.students.interfaces import ICustomStudentOnlinePayment 26 26 from waeup.kofa.students.browser import write_log_message 27 27 from waeup.kofa.students.viewlets import RequestCallbackActionButton … … 84 84 class InterswitchActionButton(RequestCallbackActionButton): 85 85 grok.order(2) 86 grok.context(ICustomStudentOnlinePayment) 86 87 icon = 'actionicon_pay.png' 87 88 text = _('CollegePAY') … … 96 97 class InterswitchRequestCallbackActionButton(RequestCallbackActionButton): 97 98 grok.order(3) 99 grok.context(ICustomStudentOnlinePayment) 98 100 icon = 'actionicon_call.png' 99 101 text = _('Request CollegePAY callback') … … 112 114 class InterswitchRequestWebserviceActionButton(RequestCallbackActionButton): 113 115 grok.order(4) 116 grok.context(ICustomStudentOnlinePayment) 114 117 icon = 'actionicon_call.png' 115 118 text = _('Request CollegePAY webservice') … … 121 124 CollegePAY payment gateway. 122 125 """ 123 grok.context(I StudentOnlinePayment)126 grok.context(ICustomStudentOnlinePayment) 124 127 grok.name('goto_interswitch') 125 128 grok.template('goto_interswitch') … … 175 178 """ Callback view for the CollegePAY gateway 176 179 """ 177 grok.context(I StudentOnlinePayment)180 grok.context(ICustomStudentOnlinePayment) 178 181 grok.name('isw_callback') 179 182 grok.require('waeup.payStudent') … … 245 248 """ Request webservice view for the CollegePAY gateway 246 249 """ 247 grok.context(I StudentOnlinePayment)250 grok.context(ICustomStudentOnlinePayment) 248 251 grok.name('request_webservice') 249 252 grok.require('waeup.payStudent')
Note: See TracChangeset for help on using the changeset viewer.