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