Changeset 15650 for main/kofacustom.iuokada/trunk/src
- Timestamp:
- 8 Oct 2019, 15:50:29 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py
r15563 r15650 29 29 30 30 from kofacustom.nigeria.interfaces import MessageFactory as _ 31 32 # Signature 33 34 class SignatureDisplay(StudentFileDisplay): 35 """Signature display viewlet. 36 """ 37 grok.order(2) 38 label = _(u'Signature') 39 title = _(u'Signature Scan') 40 download_name = u'signature' 41 42 class SignatureSlip(SignatureDisplay): 43 grok.view(ExportPDFClearanceSlip) 44 45 class SignatureUpload(StudentFileUpload): 46 """Signature upload viewlet. 47 """ 48 grok.order(2) 49 label = _(u'Signature') 50 title = _(u'Signature Scan') 51 mus = 1024 * 250 52 download_name = u'signature' 53 tab_redirect = '?tab2' 54 55 class SignatureImage(StudentImage): 56 """Renders acceptance letter scan. 57 """ 58 grok.name('signature') 59 download_name = u'signature' 60
Note: See TracChangeset for help on using the changeset viewer.