From 1963b1141e894c23a6237a7fb00ff1de0b9048fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl> Date: Fri, 26 Jan 2007 15:35:21 +0000 Subject: [PATCH] bugfixes, corrected field label git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12403 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_dms/Base_getRelatedObjectTitleList.xml | 7 +++---- .../erp5_dms/Base_getRelatedObjectValueList.xml | 3 +-- .../File_view/my_translated_validation_state_title.xml | 2 +- bt5/erp5_dms/bt/revision | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_getRelatedObjectTitleList.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_getRelatedObjectTitleList.xml index 344992439d..3b13430cef 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_getRelatedObjectTitleList.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_getRelatedObjectTitleList.xml @@ -73,8 +73,8 @@ get related object title list in a security-aware way (without throwing exceptio if I don\'t have permissions to access the object)\n """\n \n -ob_list = context.Base_getRelatedObjectValueList(category)\n -title_list = [o.getTitle() for o in ob_list]\n +object_list = context.Base_getRelatedObjectValueList(base_category)\n +title_list = [o.getTitle() for o in object_list]\n \n return filter(lambda t:t!=\'\', title_list)\n </string> </value> @@ -128,8 +128,7 @@ return filter(lambda t:t!=\'\', title_list)\n <string>base_category</string> <string>_getattr_</string> <string>context</string> - <string>category</string> - <string>ob_list</string> + <string>object_list</string> <string>append</string> <string>$append0</string> <string>_getiter_</string> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_getRelatedObjectValueList.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_getRelatedObjectValueList.xml index 9f6aa49e72..50c1d6107c 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_getRelatedObjectValueList.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_getRelatedObjectValueList.xml @@ -81,7 +81,7 @@ def getValueIfAvailable(category):\n ob = context.restrictedTraverse(category, None)\n return ob \n \n -ob_list = [getValueIfAvailable(category) for category in category_list]\n +object_list = [getValueIfAvailable(category) for category in category_list]\n return [o for o in object_list if o is not None]\n </string> </value> </item> @@ -141,7 +141,6 @@ return [o for o in object_list if o is not None]\n <string>$append0</string> <string>_getiter_</string> <string>category</string> - <string>ob_list</string> <string>object_list</string> <string>o</string> </tuple> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/File_view/my_translated_validation_state_title.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/File_view/my_translated_validation_state_title.xml index a1aaa2c01d..d242a0c785 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/File_view/my_translated_validation_state_title.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/File_view/my_translated_validation_state_title.xml @@ -251,7 +251,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>Publication State</string> </value> + <value> <string>Validation State</string> </value> </item> <item> <key> <string>truncate</string> </key> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index a21cae3648..9d3f41701a 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -454 \ No newline at end of file +455 \ No newline at end of file -- 2.30.9