Ignore:
Timestamp:
22 Apr 2021, 12:40:59 (4 years ago)
Author:
Henrik Bettermann
Message:

Enable officers to upload and change original JAMB picture.

File:
1 edited

Legend:

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

    r16458 r16473  
    317317    download_name = u'finger1.fpm'
    318318
    319 # O Original JAMB picture (view only))
     319# Original JAMB picture
    320320
    321321class JAMBPictureDisplay(PassportDisplay):
    322322    """Original JAMB picture display viewlet.
    323323    """
    324     grok.order(20)
     324    grok.order(22)
    325325    label = _(u'Original JAMB Picture')
    326326    title = _(u'Original JAMB Picture')
     
    330330    grok.view(ExportPDFClearanceSlip)
    331331
     332class JAMBPictureUpload(StudentFileUpload):
     333    """Original JAMB picture upload viewlet.
     334    """
     335    grok.order(22)
     336    grok.require('waeup.manageStudent')
     337    label = _(u'Original JAMB Picture')
     338    title = _(u'Original JAMB Picture')
     339    mus = 1024 * 150
     340    download_name = u'passport2'
     341
    332342class JAMBPictureImage(StudentImage):
    333343    """Renders Original JAMB picture.
Note: See TracChangeset for help on using the changeset viewer.