Changeset 15232 for main/waeup.aaue/trunk/src/waeup/aaue/students
- Timestamp:
- 12 Nov 2018, 14:21:13 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r15229 r15232 29 29 from zope.formlib.textwidgets import BytesDisplayWidget 30 30 from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState 31 from reportlab.platypus import Paragraph 32 from reportlab.lib.styles import getSampleStyleSheet 31 33 from waeup.kofa.browser.layout import UtilityView 32 34 from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget … … 88 90 from waeup.aaue.interswitch.browser import gateway_net_amt 89 91 from waeup.aaue.interfaces import MessageFactory as _ 92 93 STYLE = getSampleStyleSheet() 90 94 91 95 grok.context(IKofaObject) # Make IKofaObject the default context … … 1090 1094 with_ca = True 1091 1095 total = ticket.total_score 1096 if getattr(ticket, 'imported_ts', None): 1097 total = Paragraph( 1098 "<b>%s</b>" % ticket.total_score, STYLE["Normal"]) 1092 1099 grade = ticket._getGradeWeightFromScore[0] 1093 1100 if grade in ('F', '-'):
Note: See TracChangeset for help on using the changeset viewer.