diff --git a/browser/skin/lobo/lobo.css b/browser/skin/lobo/lobo.css index 3281a0d..fdac5d1 100644 --- a/browser/skin/lobo/lobo.css +++ b/browser/skin/lobo/lobo.css @@ -262,10 +262,20 @@ table.records th, table.records td { border: 1px solid lightgrey; } +table.report th { + border-bottom: 1px solid #bbbbbb; + font-weight: bold; +} + table.report td { + border-bottom: 1px dotted #dddddd; vertical-align: top; } +.report-meta table { + width: auto; +} + dl.docutils dt { font-weight: bold; margin-top: 0.3em; diff --git a/expert/browser/configure.zcml b/expert/browser/configure.zcml index 95244a8..bd82ff6 100644 --- a/expert/browser/configure.zcml +++ b/expert/browser/configure.zcml @@ -91,6 +91,14 @@ factory="loops.expert.browser.report.ResultsConceptView" permission="zope.View" /> + + + + + + + + + diff --git a/expert/browser/report.py b/expert/browser/report.py index 8a2664a..5327719 100755 --- a/expert/browser/report.py +++ b/expert/browser/report.py @@ -279,6 +279,17 @@ class ReportConceptView(ResultsConceptView, ReportView): return qf +class EmbeddedReportConceptView(ReportConceptView): + + @Lazy + def macro(self): + return self.report_macros['embedded_report'] + + @Lazy + def title(self): + return self.report.title + + class ReportParamsView(ReportConceptView): """ Report view allowing to enter parameters before executing the report. """ diff --git a/organize/work/report.py b/organize/work/report.py index 1a81d3a..b41e67b 100644 --- a/organize/work/report.py +++ b/organize/work/report.py @@ -151,7 +151,7 @@ task = TargetField('taskId', u'Task', party = TargetField('userName', u'Party', description=u'The party (usually a person) who did the work.', fieldType='selection', - executionSteps=['query', 'sort', 'output']) + executionSteps=['sort', 'output']) workTitle = StringField('title', u'Title', description=u'The short description of the work.', executionSteps=['sort', 'output'])