From 97b52222cd0fcd963b68427e3e80fa8c098c1d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 11 May 2007 09:10:43 +0000 Subject: [PATCH] display report section titles in report_view git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14453 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_xhtml_style/report_view.xml | 6 +++++- product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/report_view.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/report_view.xml index 22f17fd8dc..31e034e787 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/report_view.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/report_view.xml @@ -86,6 +86,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n <tal:block tal:repeat="report_item report_method">\n <tal:block tal:define="here python: report_item.getObject(portal_object);\n dummy python: report_item.pushReport(portal_object)">\n + <span tal:condition="report_item/getTitle"\n + tal:content="report_item/getTitle"\n + tal:attributes="class string:report_title_level_${report_item/getLevel}"/>\n <tal:block tal:condition="report_item/getFormId">\n <tal:block tal:define="form python:getattr(here,report_item.getFormId())" >\n <tal:block metal:use-macro="here/form_render/macros/master" />\n @@ -97,7 +100,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n </tal:block>\n </tal:block>\n </tal:block>\n -</tal:block> +</tal:block>\n + ]]></string> </value> </item> diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 24f98f2d5f..8c19d14d40 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -367 \ No newline at end of file +369 \ No newline at end of file -- 2.30.9