Changeset 13958
- Timestamp:
- 19 Jun 2016, 19:29:57 (8 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/reports.py
r12900 r13958 19 19 """ 20 20 import grok 21 from zope.i18n import translate 21 22 from zope.component import getUtility, queryUtility 22 23 from zope.location.location import located … … 72 73 job = getUtility(IJobManager).get(job_id) 73 74 generator = queryUtility(IReportGenerator, name=gen_name) 74 gen_title = getattr(generator, 'title', 'Unknown')75 gen_title = translate(getattr(generator, 'title', _('Unknown'))) 75 76 args = ', '.join([str(x) for x in job.kwargs['kw'].values()]) 76 77 descr = '%s (%s)' % (gen_title, args) -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py
r13867 r13958 37 37 class ISessionResultsPresentation(ILevelReport): 38 38 39 """ Same interface as for level reports.39 """ Same interface as for level session results presentation. 40 40 """ 41 41
Note: See TracChangeset for help on using the changeset viewer.