Changeset 15700 for main/kofacustom.dspg/trunk/src
- Timestamp:
- 24 Oct 2019, 09:19:46 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/viewlets.py
r15289 r15700 88 88 label = _(u'ND Result') 89 89 title = _(u'ND Result Scan') 90 mus = 1024 * 25091 90 download_name = u'nd_result' 92 91 … … 124 123 label = _(u'O Level Result') 125 124 title = _(u'O Level Result Scan') 126 mus = 1024 * 250127 125 download_name = u'o_level_result' 128 126 … … 132 130 grok.name('o_level_result') 133 131 download_name = u'o_level_result' 132 133 # O Level Result 2 134 135 class OLevelResult2Display(StudentFileDisplay): 136 """O Level Result 2 display viewlet. 137 """ 138 grok.order(19) 139 label = _(u'O Level Result 2') 140 title = _(u'O Level Result 2') 141 download_name = u'o_level_result_2' 142 143 class OLevelResult2Slip(OLevelResult2Display): 144 grok.view(ExportPDFClearanceSlip) 145 146 class OLevelResult2Upload(StudentFileUpload): 147 """O Level Result 2 upload viewlet. 148 """ 149 grok.order(19) 150 label = _(u'O Level Result 2') 151 title = _(u'O Level Result Scan 2') 152 download_name = u'o_level_result_2' 153 154 class OLevelResult2Image(StudentImage): 155 """Renders O Level Result 2 scan. 156 """ 157 grok.name('o_level_result_2') 158 download_name = u'o_level_result_2' 134 159 135 160 # IT Letter … … 152 177 label = _(u'IT Letter') 153 178 title = _(u'IT Letter Scan') 154 mus = 1024 * 250155 179 download_name = u'it_letter' 156 180 … … 187 211 grok.order(19) 188 212 title = _(u'JAMB Result Scan') 189 mus = 1024 * 250190 213 download_name = u'jamb_result' 191 214 … … 222 245 grok.order(19) 223 246 title = _(u'Additional Document Scan') 224 mus = 1024 * 250225 247 download_name = u'additional_doc' 226 248 label = _(u'Additional Document')
Note: See TracChangeset for help on using the changeset viewer.