Changeset 14319


Ignore:
Timestamp:
7 Dec 2016, 06:45:51 (8 years ago)
Author:
Henrik Bettermann
Message:

More performance data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r14314 r14319  
    970970        if data[1]:
    971971            pdf_data += [Paragraph(
    972                 translate(_('<b>Pass: ${a}%</b>',
     972                translate(_('<b>Total Students: ${a}</b>',
    973973                    mapping = {'a':data[1][0]})), style["Normal"]),]
    974974            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"]),]
    977980        pdf_data.append(Spacer(1, 20))
    978981        pdf_data += [Table(data[0], style=CONTENT_STYLE)]
Note: See TracChangeset for help on using the changeset viewer.