Changeset 14708 for main/waeup.kofa/trunk
- Timestamp:
- 5 Jul 2017, 05:33:35 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r14705 r14708 985 985 if data[1]: 986 986 pdf_data += [Paragraph( 987 translate(_('<b> Total Students: ${a}</b>',987 translate(_('<b>Department: ${a}</b>', 988 988 mapping = {'a':data[1][0]})), style["Normal"]),] 989 989 pdf_data += [Paragraph( 990 translate(_('<b>Faculty: ${a}</b>', 991 mapping = {'a':data[1][1]})), style["Normal"]),] 992 993 pdf_data += [Paragraph( 994 translate(_('<b>Total Students: ${a}</b>', 995 mapping = {'a':data[1][2]})), style["Normal"]),] 996 pdf_data += [Paragraph( 990 997 translate(_('<b>Total Pass: ${a} (${b}%)</b>', 991 mapping = {'a':data[1][ 1],'b':data[1][2]})), style["Normal"]),]998 mapping = {'a':data[1][3],'b':data[1][4]})), style["Normal"]),] 992 999 pdf_data += [Paragraph( 993 1000 translate(_('<b>Total Fail: ${a} (${b}%)</b>', 994 mapping = {'a':data[1][ 3],'b':data[1][4]})), style["Normal"]),]1001 mapping = {'a':data[1][5],'b':data[1][6]})), style["Normal"]),] 995 1002 pdf_data.append(Spacer(1, 20)) 996 1003 pdf_data += [Table(data[0], style=CONTENT_STYLE)]
Note: See TracChangeset for help on using the changeset viewer.