Changeset 9236
- Timestamp:
- 27 Sep 2012, 06:24:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/viewlets.py
r8862 r9236 24 24 from kofacustom.nigeria.interfaces import MessageFactory as _ 25 25 26 # Acceptance Letter 27 28 class AcceptanceLetterDisplay(FileDisplay): 29 """Acceptance Letter display viewlet. 30 """ 31 grok.order(2) 32 label = _(u'Acceptance Letter') 33 title = _(u'Acceptance Letter Scan') 34 download_name = u'acc_let' 35 36 class AcceptanceLetterSlip(AcceptanceLetterDisplay): 37 grok.view(ExportPDFClearanceSlipPage) 38 39 class AcceptanceLetterUpload(FileUpload): 40 """AcceptanceLetter upload viewlet. 41 """ 42 grok.order(2) 43 label = _(u'Acceptance Letter') 44 title = _(u'Acceptance Letter Scan') 45 mus = 1024 * 150 46 download_name = u'acc_let' 47 tab_redirect = '?tab2' 48 49 class AcceptanceLetterImage(Image): 50 """Renders acceptance letter scan. 51 """ 52 grok.name('acc_let') 53 download_name = u'acc_let' 54 26 55 # LGA Identification 27 56 … … 29 58 """LGA Identification display viewlet. 30 59 """ 31 grok.order( 1)60 grok.order(3) 32 61 label = _(u'LGA Identification') 33 62 title = _(u'LGA Identification Scan') … … 40 69 """LGA Identification upload viewlet. 41 70 """ 42 grok.order( 2)71 grok.order(3) 43 72 label = _(u'LGA Identification') 44 73 title = _(u'LGA Identification Scan') … … 57 86 """First Sitting Result display viewlet. 58 87 """ 59 grok.order( 1)88 grok.order(4) 60 89 label = _(u'First Sitting Result') 61 90 title = _(u'First Sitting Result') … … 68 97 """First Sitting Result upload viewlet. 69 98 """ 70 grok.order( 2)99 grok.order(4) 71 100 label = _(u'First Sitting Result') 72 101 title = _(u'First Sitting Result Scan') … … 85 114 """Second Sitting Result display viewlet. 86 115 """ 87 grok.order( 1)116 grok.order(5) 88 117 label = _(u'Second Sitting Result') 89 118 title = _(u'Second Sitting Result') … … 96 125 """Second Sitting Result upload viewlet. 97 126 """ 98 grok.order( 2)127 grok.order(5) 99 128 label = _(u'Second Sitting Result') 100 129 title = _(u'Second Sitting Result Scan') … … 113 142 """Higher Qualification Result display viewlet. 114 143 """ 115 grok.order( 1)144 grok.order(6) 116 145 label = _(u'Higher Qualification Result') 117 146 title = _(u'Higher Qualification Result') … … 124 153 """Higher Qualification Result upload viewlet. 125 154 """ 126 grok.order( 2)155 grok.order(6) 127 156 label = _(u'Higher Qualification Result') 128 157 title = _(u'Higher Qualification Result Scan') … … 141 170 """Second Higher Qualification Result display viewlet. 142 171 """ 143 grok.order( 1)172 grok.order(7) 144 173 label = _(u'Second Higher Qualification Result') 145 174 title = _(u'Second Higher Qualification Result') … … 152 181 """Second Higher Qualification Result upload viewlet. 153 182 """ 154 grok.order( 2)183 grok.order(7) 155 184 label = _(u'Second Higher Qualification Result') 156 185 title = _(u'Second Higher Qualification Result Scan') … … 176 205 """Advanced Level Result display viewlet. 177 206 """ 178 grok.order( 1)207 grok.order(8) 179 208 label = _(u'Advanced Level Result') 180 209 title = _(u'Advanced Level Result') … … 187 216 """Advanced Level Result upload viewlet. 188 217 """ 189 grok.order( 2)218 grok.order(8) 190 219 label = _(u'Advanced Level Result') 191 220 title = _(u'Advanced Level Result Scan') … … 204 233 """Certificate display viewlet. 205 234 """ 206 grok.order( 1)235 grok.order(9) 207 236 label = _(u'Certificate') 208 237 title = _(u'Certificate') 209 download_name = u'cert ificate'238 download_name = u'cert' 210 239 211 240 class CertificateSlip(CertificateDisplay): … … 215 244 """Certificate upload viewlet. 216 245 """ 217 grok.order( 2)246 grok.order(9) 218 247 label = _(u'Certificate') 219 248 title = _(u'Certificate Scan') 220 249 mus = 1024 * 150 221 download_name = u'cert ificate'250 download_name = u'cert' 222 251 223 252 class CertificateImage(Image): 224 253 """Renders Certificate scan. 225 254 """ 226 grok.name('cert ificate')227 download_name = u'cert ificate'255 grok.name('cert') 256 download_name = u'cert' 228 257 229 258 # Second Certificate (PG Students only) … … 232 261 """ Second Certificate display viewlet. 233 262 """ 234 grok.order(1 )263 grok.order(10) 235 264 label = _(u'Second Certificate') 236 265 title = _(u'Second Certificate') 237 download_name = u'cert ificate2'266 download_name = u'cert2' 238 267 239 268 class SecondCertificateSlip(SecondCertificateDisplay): … … 243 272 """Second Certificate upload viewlet. 244 273 """ 245 grok.order( 2)274 grok.order(10) 246 275 label = _(u'Second Certificate') 247 276 title = _(u'Second Certificate Scan') 248 277 mus = 1024 * 150 249 download_name = u'cert ificate2'278 download_name = u'cert2' 250 279 251 280 @property … … 259 288 """Renders Second Certificate scan. 260 289 """ 261 grok.name('cert ificate2')262 download_name = u'cert ificate2'290 grok.name('cert2') 291 download_name = u'cert2' 263 292 264 293 # Third Certificate (PG Students only) … … 267 296 """ Third Certificate display viewlet. 268 297 """ 269 grok.order(1 )298 grok.order(11) 270 299 label = _(u'Third Certificate') 271 300 title = _(u'Third Certificate') 272 download_name = u'cert ificate3'301 download_name = u'cert3' 273 302 274 303 class ThirdCertificateSlip(ThirdCertificateDisplay): … … 278 307 """Third Certificate upload viewlet. 279 308 """ 280 grok.order( 2)309 grok.order(11) 281 310 label = _(u'Third Certificate') 282 311 title = _(u'Third Certificate Scan') 283 312 mus = 1024 * 150 284 download_name = u'cert ificate3'313 download_name = u'cert3' 285 314 286 315 @property … … 294 323 """Renders Third Certificate scan. 295 324 """ 296 grok.name('cert ificate3')297 download_name = u'cert ificate3'325 grok.name('cert3') 326 download_name = u'cert3' 298 327 299 328 # Evidence of Name … … 302 331 """Evidence of Name display viewlet. 303 332 """ 304 grok.order(1 )333 grok.order(12) 305 334 label = _(u'Evidence of Name') 306 335 title = _(u'Evidence of Name') … … 313 342 """Evidence of Name upload viewlet. 314 343 """ 315 grok.order( 2)344 grok.order(12) 316 345 label = _(u'Evidence of Name') 317 346 title = _(u'Evidence of Name Scan') … … 330 359 """Result Statement display viewlet. 331 360 """ 332 grok.order(1 )361 grok.order(13) 333 362 label = _(u'Result Statement') 334 363 title = _(u'Result Statement') … … 341 370 """Result Statement upload viewlet. 342 371 """ 343 grok.order( 2)372 grok.order(13) 344 373 label = _(u'Result Statement') 345 374 title = _(u'Result Statement Scan') … … 358 387 """Referee Letter display viewlet. 359 388 """ 360 grok.order(1 )389 grok.order(14) 361 390 label = _(u'Referee Letter') 362 391 title = _(u'Referee Letter') … … 369 398 """Referee Letter upload viewlet. 370 399 """ 371 grok.order( 2)400 grok.order(14) 372 401 label = _(u'Referee Letter') 373 402 title = _(u'Referee Letter Scan') … … 386 415 """Second Referee Letter display viewlet. 387 416 """ 388 grok.order(1 )417 grok.order(15) 389 418 label = _(u'Second Referee Letter') 390 419 title = _(u'Second Referee Letter') … … 397 426 """Referee Letter upload viewlet. 398 427 """ 399 grok.order( 2)428 grok.order(15) 400 429 label = _(u'Second Referee Letter') 401 430 title = _(u'Second Referee Letter Scan') … … 421 450 """Third Referee Letter display viewlet. 422 451 """ 423 grok.order(1 )452 grok.order(16) 424 453 label = _(u'Third Referee Letter') 425 454 title = _(u'Third Referee Letter') … … 432 461 """Referee Letter upload viewlet. 433 462 """ 434 grok.order( 2)463 grok.order(16) 435 464 label = _(u'Third Referee Letter') 436 465 title = _(u'Third Referee Letter Scan') … … 456 485 """Statutory Declaration of Good Conduct display viewlet. 457 486 """ 458 grok.order(1 )487 grok.order(17) 459 488 label = _(u'Statutory Declaration of Good Conduct') 460 489 title = _(u'Statutory Declaration of Good Conduct') … … 467 496 """Statutory Declaration of Good Conduct upload viewlet. 468 497 """ 469 grok.order( 2)498 grok.order(17) 470 499 label = _(u'Statutory Declaration of Good Conduct') 471 500 title = _(u'Statutory Declaration of Good Conduct Scan') … … 484 513 """Letter of Admission display viewlet. 485 514 """ 486 grok.order(1 )515 grok.order(18) 487 516 label = _(u'Letter of Admission') 488 517 title = _(u'Letter of Admission') … … 495 524 """Letter of Admission upload viewlet. 496 525 """ 497 grok.order( 2)526 grok.order(18) 498 527 label = _(u'Letter of Admission') 499 528 title = _(u'Letter of Admission Scan')
Note: See TracChangeset for help on using the changeset viewer.