Ignore:
Timestamp:
27 Jun 2017, 05:58:44 (8 years ago)
Author:
Henrik Bettermann
Message:

Adjust footer for custom packages.

File:
1 edited

Legend:

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

    r14702 r14705  
    999999                       'b':view.context.code,
    10001000                       'd':session}))
     1001        footer_title = translate(_('${a} (${b}) - ${d}',
     1002            mapping = {'a':view.context.title,
     1003                       'b':view.context.code,
     1004                       'd':session}))
    10011005        author = '%s (%s)' % (view.request.principal.title,
    10021006                              view.request.principal.id)
     
    10061010            'Content-Disposition:', 'attachment; filename="%s' % filename)
    10071011        pdf_stream = creator.create_pdf(
    1008             pdf_data, None, doc_title, author, doc_title + ' -'
     1012            pdf_data, None, doc_title, author, footer_title + ' -'
    10091013            )
    10101014        return pdf_stream
Note: See TracChangeset for help on using the changeset viewer.