Ignore:
Timestamp:
7 Mar 2017, 09:36:09 (8 years ago)
Author:
Henrik Bettermann
Message:

Ease customization of report title.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students/reports
Files:
5 edited

Legend:

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

    r14606 r14607  
    125125    depcode = None
    126126    certcode = None
     127    title = translate(_('Level Report'))
    127128
    128129    pdfcreator = 'landscape'
     
    267268        pdf_data += [
    268269            Table(table_data, style=TABLE_STYLE, colWidths=col_widths)]
    269         doc_title = translate(_('Level Report'))
     270        doc_title = self.title
    270271
    271272        pdf_data.append(Spacer(1, 40))
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/raw_score_report.py

    r14606 r14607  
    113113    depcode = None
    114114    certcode = None
     115    title = translate(_('Raw Score Report'))
    115116
    116117    note = ""
     
    259260                      style=TABLE_STYLE,
    260261                      colWidths=col_widths)]
    261         doc_title = translate(_('Raw Score Report'))
     262        doc_title = self.title
    262263        pdf_data.append(Spacer(1, 20))
    263264        if self.signatures:
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py

    r14606 r14607  
    7373    signatures = None
    7474    introduction = ''
     75    title = translate(_('Presentation of Session Results'))
    7576
    7677    note = None
     
    242243        pdf_data += [Table(table_data, style=SUMMARY_STYLE, hAlign='LEFT')]
    243244
    244         doc_title = translate(_('Presentation of Session Results'))
     245        doc_title = self.title
    245246        pdf_data.append(Spacer(1, 40))
    246247        if self.signatures:
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/student_payment_statistics.py

    r14606 r14607  
    194194    p_session = None
    195195    pdfcreator = 'landscape'
     196    title = translate(_('Student Payment Statistics'))
    196197
    197198    def __init__(self, session, mode, level, entry_session, p_session,
     
    260261        pdf_data += [
    261262            Table(table_data, style=TABLE_STYLE, colWidths=col_widths)]
    262         doc_title = translate(_('Student Payment Statistics'))
     263        doc_title = self.title
    263264        right_footer = translate(
    264265            _('${a} Student Payments - ${b} -',
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/student_statistics.py

    r14606 r14607  
    144144    mode = None
    145145    pdfcreator = 'landscape'
     146    title = translate(_('Student Statistics'))
    146147
    147148    def __init__(self, session, mode, level, breakdown, author='System'):
     
    186187        pdf_data += [
    187188            Table(table_data, style=TABLE_STYLE, colWidths=col_widths)]
    188         doc_title = translate(_('Student Statistics'))
     189        doc_title = self.title
    189190        right_footer = translate(
    190191            _('${a} Students - ${b} -',
Note: See TracChangeset for help on using the changeset viewer.