Changeset 16046 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 27 Mar 2020, 07:50:10 (5 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r16030 r16046 1358 1358 pnav = 4 1359 1359 1360 def format_float(self, value, prec): 1361 format_float = getUtility(IKofaUtils).format_float 1362 return format_float(value, prec) 1363 1360 1364 def update(self): 1361 1365 final_slip = getUtility(IExtFileStore).getFileByContext( -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/transcript.pt
r15203 r16046 21 21 </td> 22 22 <td> 23 <div tal:content="python: '%.3f' % tdata[1]">GPA</div>23 <div tal:content="python:view.format_float(tdata[1], 3)">CGPA</div> 24 24 </td> 25 25 </tr>
Note: See TracChangeset for help on using the changeset viewer.