Ignore:
Timestamp:
10 Apr 2012, 09:15:28 (13 years ago)
Author:
Henrik Bettermann
Message:

The University name is stored in the configuration object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pdf.py

    r8059 r8089  
    6161        # Header
    6262        head_title = getattr(
    63             doc, 'kofa_headtitle', getattr(grok.getSite(), 'name',
     63            doc, 'kofa_headtitle', getattr(grok.getSite()['configuration'], 'name',
    6464                                           u'Sample University'))
    6565        canvas.setFont("Helvetica-Bold", 18)
Note: See TracChangeset for help on using the changeset viewer.