Ignore:
Timestamp:
22 Mar 2021, 17:50:16 (4 years ago)
Author:
Henrik Bettermann
Message:

Add viewlets for original JAMP passport picture.

File:
1 edited

Legend:

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

    r16385 r16423  
    319319    grok.name('finger1.fpm')
    320320    download_name = u'finger1.fpm'
     321
     322# O Original JAMB picture (view only))
     323
     324class JAMBPictureDisplay(StudentFileDisplay):
     325    """Original JAMB picture display viewlet.
     326    """
     327    grok.order(20)
     328    label = _(u'Original JAMB Picture')
     329    title = _(u'Original JAMB Picture')
     330    download_name = u'jamb_picture'
     331
     332class JAMBPictureSlip(JAMBPictureDisplay):
     333    grok.view(ExportPDFClearanceSlip)
     334
     335class JAMBPictureImage(StudentImage):
     336    """Renders Original JAMB picture.
     337    """
     338    grok.name('jamb_picture')
     339    download_name = u'jamb_picture'
Note: See TracChangeset for help on using the changeset viewer.