Changeset 15654 for main/kofacustom.iuokada/trunk/src
- Timestamp:
- 9 Oct 2019, 10:10:23 (5 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r15653 r15654 32 32 33 33 SKIP_UPLOAD_VIEWLETS = ( 34 'acceptanceletterupload', 34 'acceptanceletterupload', 'certificateupload' 35 35 ) 36 36 # Maximum size of upload files in kB -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py
r15653 r15654 58 58 download_name = u'signature' 59 59 60 # JAMB Result 61 62 class JAMBResultDisplay(StudentFileDisplay): 63 """JAMB Result display viewlet. 64 """ 65 grok.order(9) 66 label = _(u'JAMB Result') 67 title = _(u'JAMB Result') 68 download_name = u'jamb' 69 70 class JAMBResultSlip(JAMBResultDisplay): 71 grok.view(ExportPDFClearanceSlip) 72 73 class JAMBResultUpload(StudentFileUpload): 74 """JAMB Result upload viewlet. 75 """ 76 grok.order(9) 77 label = _(u'JAMB Result') 78 title = _(u'JAMB Result Scan') 79 download_name = u'jamb' 80 81 class JAMBResultImage(StudentImage): 82 """Renders JAMB Result scan. 83 """ 84 grok.name('jamb') 85 download_name = u'jamb' 86
Note: See TracChangeset for help on using the changeset viewer.