Changeset 14503 for main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py
- Timestamp:
- 4 Feb 2017, 18:26:35 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py
r14489 r14503 17 17 ## 18 18 19 import grok 20 from zope.component import getUtility 21 from waeup.kofa.interfaces import IKofaUtils 19 22 from waeup.kofa.students.reports.session_results_presentation import ( 20 23 SessionResultsPresentation, SessionResultsPresentationGenerator) … … 25 28 26 29 pdfcreator = '' 30 31 @property 32 def introduction (self): 33 site = grok.getSite() 34 degrees_dict = getUtility(IKofaUtils).DEGREES_DICT 35 certificate = site[ 36 'faculties'][self.faccode][self.depcode].certificates[self.certcode] 37 return """I present to Senate, on behalf of the Faculty Board, the results of 38 courses taught and examinations held this academic session. 39 40 The following candidate(s) have/have not satisfied the degree requirements 41 of the Faculty and have/have not qualified for the award of a %s as stated below: 42 """ % degrees_dict[certificate.degree] 27 43 28 44 # note = """
Note: See TracChangeset for help on using the changeset viewer.