From 45fa7ab320ca3efbd92eebf0f8ded7ad35e557f6 Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Mon, 23 Oct 2006 19:40:18 +0000 Subject: [PATCH] Base_viewMetadata Related objects are now clickable URLs, saves a lot of copy&paste. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10898 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_core/Base_viewMetadata/my_related_object_list.xml | 6 +++++- product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewMetadata/my_related_object_list.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewMetadata/my_related_object_list.xml index 9473cd70d6..0adbf4b609 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewMetadata/my_related_object_list.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewMetadata/my_related_object_list.xml @@ -317,7 +317,11 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: [x.getPath() for x in here.portal_categories.getRelatedValueList(here)]</string> </value> + <value> <string encoding="cdata"><![CDATA[ + +python: [\'<a href="%s">%s</a>\' % (x.absolute_url(), x.getPath()) for x in here.portal_categories.getRelatedValueList(here)] + +]]></string> </value> </item> </dictionary> </pickle> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 95c8a676e9..c9c41087e2 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -113 \ No newline at end of file +114 \ No newline at end of file -- 2.30.9