Changeset 12659
- Timestamp:
- 3 Mar 2015, 08:58:38 (12 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba
- Files:
-
- 8 added
- 1 edited
-
browser/reports.py (modified) (1 diff)
-
customers/reports (added)
-
customers/reports/__init__.py (added)
-
customers/reports/browser_templates (added)
-
customers/reports/browser_templates/contractstatisticsreportgeneratorpage.pt (added)
-
customers/reports/contract_statistics.py (added)
-
customers/reports/tests (added)
-
customers/reports/tests/__init__.py (added)
-
customers/reports/tests/test_contract_statistics.py (added)
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/reports.py
r11949 r12659 65 65 gen_title = getattr(generator, 'title', 'Unknown') 66 66 args = ', '.join([str(x) for x in job.kwargs['kw'].values()]) 67 descr = '%s (%s)' % (gen_title, args) 67 if args: 68 descr = '%s (%s)' % (gen_title, args) 69 else: 70 descr = gen_title 68 71 status = job.finished and 'ready' or 'running' 69 72 status = job.failed and 'FAILED' or status
Note: See TracChangeset for help on using the changeset viewer.
