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 344992439d297f522fc09d26cb0dbdfe1e6d3500..3b13430cef39cd142c70a20e04377fc6169232e4 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 9f6aa49e729a954a20c715833478c20298b2de43..50c1d6107c76c5b9bd7d4c8d80ba31e604d8fb52 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 a1aaa2c01d6b1fc3e7891ae431378e1655d9fc23..d242a0c78541204f907e4a9d273060848dc143d7 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 a21cae3648eecf716e8348f3690c25e6285f754d..9d3f41701a871134f2381d2782da8d0ba0d63bbf 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