Ignore:
Timestamp:
11 Jan 2021, 14:48:41 (4 years ago)
Author:
Henrik Bettermann
Message:

Rename WAEC Results.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py

    r16363 r16364  
    110110CLEARANCE_FLASH_MESSAGE = """
    111111If you have not presented for physical clearance, scan your WAEC, NECO
    112 and other O'level result verification scratch cards on one document and
    113 attach to the form below (Scans > WAEC Result Scratch Card).
     112and other O level results scratch cards on one document and
     113attach to the form below (Scans > O Level Results Scratch Card).
    114114Then come back to check for your successful cleared status as from 3 days
    115115after successful clearance request.
  • main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py

    r16363 r16364  
    234234    download_name = u'secr_cults'
    235235
    236 # WAEC Results Scratch Card
    237 
    238 class WAECResultsScratchCardDisplay(StudentFileDisplay):
    239     """WAEC Results Scratch Card display viewlet.
    240     """
    241     grok.order(20)
    242     label = _(u'WAEC Results Scratch Card')
    243     title = _(u'WAEC Results Scratch Card')
    244     download_name = u'waec_sc'
    245 
    246 class WAECResultsScratchCardSlip(WAECResultsScratchCardDisplay):
    247     grok.view(ExportPDFClearanceSlip)
    248 
    249 class WAECResultsScratchCardUpload(StudentFileUpload):
    250     """WAEC Results Scratch Card upload viewlet.
    251     """
    252     grok.order(20)
    253     label = _(u'WAEC Results Scratch Card')
    254     title = _(u'WAEC Results Scratch Card Scan')
    255     mus = 1024 * 150
    256     download_name = u'waec_sc'
    257 
    258 class WAECResultsScratchCardImage(StudentImage):
    259     """Renders WAEC Results Scratch Card scan.
    260     """
    261     grok.name('waec_sc')
    262     download_name = u'waec_sc'
     236# O Level Results Scratch Card
     237
     238class OLevelResultsScratchCardDisplay(StudentFileDisplay):
     239    """O'Level Results Scratch Card display viewlet.
     240    """
     241    grok.order(20)
     242    label = _(u'O Level Results Scratch Card')
     243    title = _(u'O Level Results Scratch Card')
     244    download_name = u'olevel_sc'
     245
     246class OLevelResultsScratchCardSlip(OLevelResultsScratchCardDisplay):
     247    grok.view(ExportPDFClearanceSlip)
     248
     249class OLevelResultsScratchCardUpload(StudentFileUpload):
     250    """O Level Results Scratch Card upload viewlet.
     251    """
     252    grok.order(20)
     253    label = _(u'O Level Results Scratch Card')
     254    title = _(u'O Level Results Scratch Card Scan')
     255    mus = 1024 * 150
     256    download_name = u'olevel_sc'
     257
     258class OLevelResultsScratchCardImage(StudentImage):
     259    """Renders O Level Results Scratch Card scan.
     260    """
     261    grok.name('olevel_sc')
     262    download_name = u'olevel_sc'
    263263
    264264# Fingerprints
Note: See TracChangeset for help on using the changeset viewer.