Ignore:
Timestamp:
27 Sep 2012, 06:25:44 (12 years ago)
Author:
Henrik Bettermann
Message:

Move AcceptanceLetter? viewlets to kofacustom.nigeria

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r9191 r9237  
    831831    tab_redirect = '?tab2'
    832832
    833 class AcceptanceLetterDisplay(FileDisplay):
    834     """Acceptance Letter display viewlet.
    835     """
    836     grok.order(1)
    837     label = _(u'Acceptance Letter')
    838     title = _(u'Acceptance Letter Scan')
    839     download_name = u'acc_let'
    840 
    841 class AcceptanceLetterSlip(AcceptanceLetterDisplay):
    842     grok.view(ExportPDFClearanceSlipPage)
    843 
    844 class AcceptanceLetterUpload(FileUpload):
    845     """AcceptanceLetter upload viewlet.
    846     """
    847     grok.order(2)
    848     label = _(u'Acceptance Letter')
    849     title = _(u'Acceptance Letter Scan')
    850     mus = 1024 * 150
    851     download_name = u'acc_let'
    852     tab_redirect = '?tab2'
    853 
    854833class Image(grok.View):
    855834    """Renders images for students.
     
    899878    grok.name('birth_certificate')
    900879    download_name = u'birth_certificate'
    901 
    902 class AcceptanceLetterImage(Image):
    903     """Renders acceptance letter scan.
    904     """
    905     grok.name('acc_let')
    906     download_name = u'acc_let'
Note: See TracChangeset for help on using the changeset viewer.