Changeset 14319 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 7 Dec 2016, 06:45:51 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r14314 r14319 970 970 if data[1]: 971 971 pdf_data += [Paragraph( 972 translate(_('<b> Pass: ${a}%</b>',972 translate(_('<b>Total Students: ${a}</b>', 973 973 mapping = {'a':data[1][0]})), style["Normal"]),] 974 974 pdf_data += [Paragraph( 975 translate(_('<b>Fail: ${a}%</b>', 976 mapping = {'a':data[1][1]})), style["Normal"]),] 975 translate(_('<b>Total Pass: ${a} (${b}%)</b>', 976 mapping = {'a':data[1][1],'b':data[1][2]})), style["Normal"]),] 977 pdf_data += [Paragraph( 978 translate(_('<b>Total Fail: ${a} (${b}%)</b>', 979 mapping = {'a':data[1][3],'b':data[1][4]})), style["Normal"]),] 977 980 pdf_data.append(Spacer(1, 20)) 978 981 pdf_data += [Table(data[0], style=CONTENT_STYLE)]
Note: See TracChangeset for help on using the changeset viewer.