Changeset 14267


Ignore:
Timestamp:
10 Nov 2016, 08:35:46 (8 years ago)
Author:
Henrik Bettermann
Message:

Add note to raw score report and transripts.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r14244 r14267  
    437437    grok.require('waeup.viewStudent')
    438438
     439    note = _("""
     440<br /><br /><br /><br />
     441<font size='10'>
     442<strong>Note:</strong> This copy is subject to correction for typographical errors and ratification by the departmental board.
     443</font>
     444""")
     445
    439446    def _sigsInFooter(self):
    440447        return []
     
    472479            signatures=self._signatures(),
    473480            sigs_in_footer=self._sigsInFooter(),
     481            note = self.note
    474482            )
    475483
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/raw_score_report.py

    r14146 r14267  
    182182    depcode = None
    183183
     184    note = """
     185<br /><br /><br /><br />
     186<font size='10'>
     187<strong>Note:</strong> This copy is subject to correction for typographical errors and ratification by the departmental board.
     188</font>
     189"""
     190
    184191    def __init__(self, faccode, depcode, session, level, author='System'):
    185192        super(RawScoreReport, self).__init__(
     
    248255            pdf_data, None, doc_title, self.author,
    249256            doc_title + ' - %s/%s - %s - %s -' % (
    250             self.faccode, self.depcode, self.levelcode, self.sessioncode)
     257            self.faccode, self.depcode, self.levelcode, self.sessioncode),
     258            note=self.note
    251259            )
    252260        return pdf
Note: See TracChangeset for help on using the changeset viewer.