Changeset 12452


Ignore:
Timestamp:
12 Jan 2015, 11:17:16 (10 years ago)
Author:
Henrik Bettermann
Message:

Adjust to previous modifications in waeup.kofa.

File:
1 edited

Legend:

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

    r12423 r12452  
    2424    ICustomStudent, )
    2525from waeup.kofa.students.fileviewlets import (
    26     FileDisplay, FileUpload, Image)
     26    StudentFileDisplay, StudentFileUpload, StudentImage)
    2727from waeup.kofa.students.browser import (
    2828    ExportPDFClearanceSlipPage, StudyCourseDisplayFormPage,
     
    7878# JAMB Letter
    7979
    80 class JAMBLetterDisplay(FileDisplay):
     80class JAMBLetterDisplay(StudentFileDisplay):
    8181    """JAMB Letter display viewlet.
    8282    """
     
    8989    grok.view(ExportPDFClearanceSlipPage)
    9090
    91 class JAMBLetterUpload(FileUpload):
     91class JAMBLetterUpload(StudentFileUpload):
    9292    """JAMB Letter upload viewlet.
    9393    """
     
    9898    download_name = u'jamb_letter'
    9999
    100 class JAMBLetterImage(Image):
     100class JAMBLetterImage(StudentImage):
    101101    """Renders JAMB Letter scan.
    102102    """
     
    106106# Affidavit of Non-Membership of Secret Cults
    107107
    108 class SecrCultsStatementDisplay(FileDisplay):
     108class SecrCultsStatementDisplay(StudentFileDisplay):
    109109    """Affidavit of Non-Membership of Secret Cults display viewlet.
    110110    """
     
    117117    grok.view(ExportPDFClearanceSlipPage)
    118118
    119 class SecrCultsStatementUpload(FileUpload):
     119class SecrCultsStatementUpload(StudentFileUpload):
    120120    """Affidavit of Non-Membership of Secret Cults upload viewlet.
    121121    """
     
    126126    download_name = u'secr_cults'
    127127
    128 class SecrCultsStatementImage(Image):
     128class SecrCultsStatementImage(StudentImage):
    129129    """Renders Affidavit of Non-Membership of Secret Cults scan.
    130130    """
     
    134134# Fingerprints
    135135
    136 class LeftThumbPrintDisplay(FileDisplay):
     136class LeftThumbPrintDisplay(StudentFileDisplay):
    137137    """Left thumb fingerprint display viewlet.
    138138    """
     
    149149    grok.view(ExportPDFClearanceSlipPage)
    150150
    151 class LeftThumbPrintUpload(FileUpload):
     151class LeftThumbPrintUpload(StudentFileUpload):
    152152    """Left thumb fingerprint upload viewlet.
    153153    """
     
    159159    download_name = u'finger1.fpm'
    160160
    161 class LeftThumbPrintImage(Image):
     161class LeftThumbPrintImage(StudentImage):
    162162    """Renders left thumb fingerprint minutiae for download.
    163163    """
Note: See TracChangeset for help on using the changeset viewer.