Changeset 8253
- Timestamp:
- 22 Apr 2012, 20:06:50 (13 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/etranzact/browser.py
r8247 r8253 22 22 import grok 23 23 from waeup.kofa.browser.layout import KofaPage, UtilityView 24 from waeup.kofa.students.interfaces import IStudentOnlinePayment25 from waeup.kofa.applicants.interfaces import IApplicantOnlinePayment26 24 from waeup.kofa.applicants.viewlets import RequestCallbackActionButton as RCABApplicant 27 25 from waeup.kofa.students.viewlets import RequestCallbackActionButton as RCABStudent … … 29 27 from waeup.uniben.students.utils import actions_after_student_payment 30 28 from waeup.uniben.applicants.utils import actions_after_applicant_payment 29 from waeup.uniben.students.interfaces import ICustomStudentOnlinePayment 30 from waeup.uniben.applicants.interfaces import ICustomApplicantOnlinePayment 31 31 32 32 TERMINAL_ID = '0500000003' … … 100 100 101 101 class EtranzactEnterPinActionButtonApplicant(RCABApplicant): 102 grok.context(ICustomApplicantOnlinePayment) 102 103 icon = 'actionicon_call.png' 103 104 text = _('Query eTranzact History') … … 105 106 106 107 class EtranzactEnterPinActionButtonStudent(RCABStudent): 108 grok.context(ICustomStudentOnlinePayment) 107 109 icon = 'actionicon_call.png' 108 110 text = _('Query eTranzact History') … … 112 114 """ 113 115 """ 114 grok.context(I StudentOnlinePayment)116 grok.context(ICustomStudentOnlinePayment) 115 117 grok.name('enterpin') 116 118 grok.template('enterpin') … … 125 127 """ 126 128 grok.require('waeup.payApplicant') 127 grok.context(I ApplicantOnlinePayment)129 grok.context(ICustomApplicantOnlinePayment) 128 130 129 131 class EtranzactQueryHistoryPageStudent(UtilityView, grok.View): 130 132 """ Query history of eTranzact payments 131 133 """ 132 grok.context(I StudentOnlinePayment)134 grok.context(ICustomStudentOnlinePayment) 133 135 grok.name('query_history') 134 136 grok.require('waeup.payStudent') … … 150 152 """ Query history of eTranzact payments 151 153 """ 152 grok.context(I ApplicantOnlinePayment)154 grok.context(ICustomApplicantOnlinePayment) 153 155 grok.name('query_history') 154 156 grok.require('waeup.payApplicant') -
main/waeup.uniben/trunk/src/waeup/uniben/interfaces.py
r8204 r8253 147 147 148 148 149 class ICustomSessionConfigurationAdd(I SessionConfiguration):149 class ICustomSessionConfigurationAdd(ICustomSessionConfiguration): 150 150 """A session configuration object in add mode. 151 151 """
Note: See TracChangeset for help on using the changeset viewer.