From 526f3c2784261e9f845cb9f4d40c5a8397160af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl> Date: Tue, 27 Feb 2007 15:19:07 +0000 Subject: [PATCH] Use title instead of title_or_id, because the latter has tighter security. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13089 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_web_widget_library/WebSite_viewDashboardRenderer.xml | 2 +- bt5/erp5_web/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewDashboardRenderer.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewDashboardRenderer.xml index e4b91e516f..023bb4ee07 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewDashboardRenderer.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewDashboardRenderer.xml @@ -63,7 +63,7 @@ <a tal:define="url python: \'%s/view\' % doc.absolute_url()"\n tal:attributes="href url">\n <span tal:replace="doc/portal_type"/>:\n - <span tal:replace="doc/getTitleOrId"/>\n + <span tal:replace="doc/getTitle"/>\n <span tal:condition="python: hasattr(doc, \'getVersion\') and doc.getVersion()" \n tal:replace="python: \'ver. %s\' % doc.getVersion()"/>\n (<span tal:content="python: doc.getValidationStateTitle()" \n diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 19afd4ebd9..77555c31de 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -527 \ No newline at end of file +529 \ No newline at end of file -- 2.30.9