diff --git a/expert/browser/report.pt b/expert/browser/report.pt index ea8bbb9..d349f2e 100755 --- a/expert/browser/report.pt +++ b/expert/browser/report.pt @@ -16,12 +16,13 @@
+ tal:attributes="value item/reportExecuteTitle|string:Execute Report" + i18n:attributes="value" /> + value item/reportDownloadTitle" + i18n:attributes="value" />

@@ -42,7 +43,8 @@ - : + @@ -77,4 +79,30 @@ + +
+
+ +
+
+ +
+
+
+ + diff --git a/expert/browser/report.py b/expert/browser/report.py index 195c5be..a23322e 100755 --- a/expert/browser/report.py +++ b/expert/browser/report.py @@ -48,7 +48,8 @@ class ReportView(ConceptView): @Lazy def report_macros(self): - return self.controller.getTemplateMacros('report', report_template) + return self.controller.mergeTemplateMacros('report', report_template) + #return self.controller.getTemplateMacros('report', report_template) @Lazy def macro(self): diff --git a/expert/field.py b/expert/field.py index 56e962b..b5bd9a2 100644 --- a/expert/field.py +++ b/expert/field.py @@ -104,6 +104,7 @@ class IntegerField(Field): class DateField(Field): + fieldType='date', format = ('date', 'short') renderer = cssClass = 'center' dbtype = 'date' @@ -211,6 +212,7 @@ class IntegerUrlField(IntegerField, UrlField): class RelationField(Field): + fieldType = 'relation' renderer = 'target' displayAttribute = 'title'