Ignore:
Timestamp:
22 Oct 2012, 07:30:10 (12 years ago)
Author:
Henrik Bettermann
Message:

Move secret cults scan to Uniben package. Also JAMB Letter is a Uniben customization. We have a similar field for FUTMinna.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/viewlets.py

    r9377 r9381  
    228228    download_name = u'alr_scan'
    229229
    230 # JAMB Letter/Certificate
     230# Certificate
    231231
    232232class CertificateDisplay(FileDisplay):
    233     """JAMB Letter/Certificate display viewlet.
     233    """Certificate display viewlet.
    234234    """
    235235    grok.order(9)
    236     label = _(u'JAMB Letter/Certificate')
    237     title = _(u'JAMB Letter/Certificate')
     236    label = _(u'Certificate')
     237    title = _(u'Certificate')
    238238    download_name = u'cert'
    239239
     
    242242
    243243class CertificateUpload(FileUpload):
    244     """JAMB Letter/Certificate upload viewlet.
     244    """Certificate upload viewlet.
    245245    """
    246246    grok.order(9)
    247     label = _(u'JAMB Letter/Certificate')
    248     title = _(u'JAMB Letter/Certificate Scan')
     247    label = _(u'Certificate')
     248    title = _(u'Certificate Scan')
    249249    mus = 1024 * 150
    250250    download_name = u'cert'
    251251
    252252class CertificateImage(Image):
    253     """Renders JAMB Letter/Certificate scan.
     253    """Renders Certificate scan.
    254254    """
    255255    grok.name('cert')
     
    508508    download_name = u'stat_dec'
    509509
    510 # Affidavit of Non-Menbership of Secret Cults
    511 
    512 class SecrCultsStatementDisplay(FileDisplay):
    513     """Affidavit of Non-Menbership of Secret Cults display viewlet.
    514     """
    515     grok.order(18)
    516     label = _(u'Affidavit of Non-Menbership of Secret Cults')
    517     title = _(u'Affidavit of Non-Menbership of Secret Cults')
    518     download_name = u'secr_cults'
    519 
    520 class SecrCultsStatementSlip(SecrCultsStatementDisplay):
    521     grok.view(ExportPDFClearanceSlipPage)
    522 
    523 class SecrCultsStatementUpload(FileUpload):
    524     """Affidavit of Non-Menbership of Secret Cults upload viewlet.
    525     """
    526     grok.order(18)
    527     label = _(u'Affidavit of Non-Menbership of Secret Cults')
    528     title = _(u'Affidavit of Non-Menbership of Secret Cults Scan')
    529     mus = 1024 * 150
    530     download_name = u'secr_cults'
    531 
    532 class ResultStatementImage(Image):
    533     """Renders Affidavit of Non-Menbership of Secret Cults scan.
    534     """
    535     grok.name('secr_cults')
    536     download_name = u'secr_cults'
    537 
    538510# Letter of Admission (PG Students only)
    539511
     
    541513    """Letter of Admission display viewlet.
    542514    """
    543     grok.order(19)
     515    grok.order(18)
    544516    label = _(u'Letter of Admission')
    545517    title = _(u'Letter of Admission')
     
    552524    """Letter of Admission upload viewlet.
    553525    """
    554     grok.order(19)
     526    grok.order(18)
    555527    label = _(u'Letter of Admission')
    556528    title = _(u'Letter of Admission Scan')
Note: See TracChangeset for help on using the changeset viewer.