Changeset 8129
- Timestamp:
- 12 Apr 2012, 13:16:56 (13 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/etranzact/browser.py
r8020 r8129 109 109 return 110 110 111 if success_dict.get(' PAYMENT_CODE') != self.context.p_id:111 if success_dict.get('COL1') != self.context.p_id: 112 112 self.flash(_('Wrong transaction id')) 113 113 write_log_message( -
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r8108 r8129 22 22 ) 23 23 from waeup.kofa.students.browser import ( 24 StudentPersonalDisplayFormPage, StudentPersonalManageFormPage,24 StudentPersonalDisplayFormPage, 25 25 StudentClearanceManageFormPage, StudentClearanceEditFormPage, 26 26 StudentClearanceDisplayFormPage, OnlinePaymentCallbackPage, … … 69 69 form_fields['perm_address'].custom_widget = BytesDisplayWidget 70 70 71 class StudentPersonalManageFormPage(StudentPersonalManageFormPage):72 """ Page to edit student clearance data73 """74 grok.context(IStudent)75 form_fields = grok.AutoFields(IStudentPersonal)76 71 77 72 class StudentClearanceDisplayFormPage(StudentClearanceDisplayFormPage): -
main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py
r8108 r8129 45 45 mus = 1024 * 150 46 46 download_name = u'lga_ident' 47 tab_redirect = '?tab2'48 47 49 48 class LGAIdentificationImage(Image): … … 74 73 mus = 1024 * 150 75 74 download_name = u'fst_sit_scan' 76 tab_redirect = '?tab2'77 75 78 76 class FirstSittingResultImage(Image): … … 103 101 mus = 1024 * 150 104 102 download_name = u'scd_sit_scan' 105 tab_redirect = '?tab2'106 103 107 104 class SecondSittingResultImage(Image): … … 132 129 mus = 1024 * 150 133 130 download_name = u'hq_scan' 134 tab_redirect = '?tab2'135 131 136 132 class HigherQualificationResultImage(Image): … … 161 157 mus = 1024 * 150 162 158 download_name = u'hq_scan2' 163 tab_redirect = '?tab2'164 159 165 160 class SecondHigherQualificationResultImage(Image): … … 168 163 grok.name('hq_scan2') 169 164 download_name = u'hq_scan2' 165 166 # Advanced Level Result 167 168 class AdvancedLevelResultDisplay(FileDisplay): 169 """Advanced Level Result display viewlet. 170 """ 171 grok.order(1) 172 label = _(u'Advanced Level Result') 173 title = _(u'Advanced Level Result') 174 download_name = u'alr_scan' 175 176 class AdvancedLevelResultSlip(AdvancedLevelResultDisplay): 177 grok.view(ExportPDFClearanceSlipPage) 178 179 class AdvancedLevelResultUpload(FileUpload): 180 """Advanced Level Result upload viewlet. 181 """ 182 grok.order(2) 183 label = _(u'Advanced Level Result') 184 title = _(u'Advanced Level Result Scan') 185 mus = 1024 * 150 186 download_name = u'alr_scan' 187 188 class AdvancedLevelResultImage(Image): 189 """Renders Advanced Level Result scan. 190 """ 191 grok.name('alr_scan') 192 download_name = u'alr_scan' 193 194 # Certificate 195 196 class CertificateDisplay(FileDisplay): 197 """Certificate display viewlet. 198 """ 199 grok.order(1) 200 label = _(u'Certificate') 201 title = _(u'Certificate') 202 download_name = u'certificate' 203 204 class CertificateSlip(CertificateDisplay): 205 grok.view(ExportPDFClearanceSlipPage) 206 207 class CertificateUpload(FileUpload): 208 """Certificate upload viewlet. 209 """ 210 grok.order(2) 211 label = _(u'Certificate') 212 title = _(u'Certificate Scan') 213 mus = 1024 * 150 214 download_name = u'certificate' 215 216 class CertificateImage(Image): 217 """Renders Certificate scan. 218 """ 219 grok.name('certificate') 220 download_name = u'certificate' 221 222 # Second Certificate 223 224 class SecondCertificateDisplay(FileDisplay): 225 """ Second Certificate display viewlet. 226 """ 227 grok.order(1) 228 label = _(u'Second Certificate') 229 title = _(u'Second Certificate') 230 download_name = u'certificate2' 231 232 class SecondCertificateSlip(SecondCertificateDisplay): 233 grok.view(ExportPDFClearanceSlipPage) 234 235 class SecondCertificateUpload(FileUpload): 236 """Second Certificate upload viewlet. 237 """ 238 grok.order(2) 239 label = _(u'Second Certificate') 240 title = _(u'Second Certificate Scan') 241 mus = 1024 * 150 242 download_name = u'certificate2' 243 244 class CertificateImage(Image): 245 """Renders Second Certificate scan. 246 """ 247 grok.name('certificate2') 248 download_name = u'certificate2' 249 250 # Third Certificate 251 252 class ThirdCertificateDisplay(FileDisplay): 253 """ Third Certificate display viewlet. 254 """ 255 grok.order(1) 256 label = _(u'Third Certificate') 257 title = _(u'Third Certificate') 258 download_name = u'certificate3' 259 260 class ThirdCertificateSlip(ThirdCertificateDisplay): 261 grok.view(ExportPDFClearanceSlipPage) 262 263 class ThirdCertificateUpload(FileUpload): 264 """Third Certificate upload viewlet. 265 """ 266 grok.order(2) 267 label = _(u'Third Certificate') 268 title = _(u'Third Certificate Scan') 269 mus = 1024 * 150 270 download_name = u'certificate3' 271 272 class CertificateImage(Image): 273 """Renders Third Certificate scan. 274 """ 275 grok.name('certificate3') 276 download_name = u'certificate3' 170 277 171 278 # Evidence of Name … … 190 297 mus = 1024 * 150 191 298 download_name = u'evid' 192 tab_redirect = '?tab2'193 299 194 300 class EvidenceOfNameImage(Image):
Note: See TracChangeset for help on using the changeset viewer.