From 7c2b6f7f095a0b0e9e54d087e7b5bf20a1e185f3 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Wed, 9 Dec 2009 17:13:05 +0000 Subject: [PATCH] revert r31192, it's not the good way of implementation. This implementation will be postponed git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31204 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../property_sheet_list.xml | 5 - .../erp5_gadget/ListBox_asListStyleHTML.xml | 6 +- .../erp5_knowledge_pad/KnowledgeBox_view.xml | 1 - .../my_expand_links_content_by_default.xml | 171 ------------------ bt5/erp5_knowledge_pad/bt/revision | 2 +- .../template_portal_type_property_sheet_list | 1 - 6 files changed, 3 insertions(+), 183 deletions(-) delete mode 100644 bt5/erp5_knowledge_pad/PortalTypePropertySheetTemplateItem/property_sheet_list.xml delete mode 100644 bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_view/my_expand_links_content_by_default.xml diff --git a/bt5/erp5_knowledge_pad/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_knowledge_pad/PortalTypePropertySheetTemplateItem/property_sheet_list.xml deleted file mode 100644 index 692022e464..0000000000 --- a/bt5/erp5_knowledge_pad/PortalTypePropertySheetTemplateItem/property_sheet_list.xml +++ /dev/null @@ -1,5 +0,0 @@ -<property_sheet_list> - <portal_type id="Knowledge Box"> - <item>KnowledgeBox</item> - </portal_type> -</property_sheet_list> \ No newline at end of file diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ListBox_asListStyleHTML.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ListBox_asListStyleHTML.xml index d855c7fe36..9d583e2be4 100644 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ListBox_asListStyleHTML.xml +++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ListBox_asListStyleHTML.xml @@ -75,7 +75,6 @@ box python: real_context.restrictedTraverse(box_relative_url); \n box_id python: \'visual_\'+box.getId();\n dom_id python: request.get(\'dom_id\',None) or box_id;\n - display_links_content box/isExpandLinksContentByDefault;\n is_gadget_mode request/is_gadget_mode | nothing;\n list_style python:request.get(\'list_style\', None);\n value_dict python: {\'field_title\':None, \'field_date\': None, \'field_content\':None,\'field_img\':None,\'field_link\':None,\'field_others_links\':None,\'field_md5\':None,\'field_sender\':None};\n @@ -187,9 +186,8 @@ </div>\n </tal:block>\n <p class="clear"></p>\n - <div tal:attributes="id python:\'description_\'+box_id+\'_\'+str(repeat[\'line\'].index);\n - style python: display_links_content and \'display:block\' or \'display:none\';"\n - class="content">\n + <div tal:attributes="id python:\'description_\'+box_id+\'_\'+str(repeat[\'line\'].index)"\n + class="content" style="display:none;">\n <p tal:condition="python:value_dict[\'field_content\']"\n tal:content="structure python:value_dict[\'field_content\']"/>\n <div id="others_links">\n diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_view.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_view.xml index 3062c93f29..c908833ed1 100644 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_view.xml +++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_view.xml @@ -92,7 +92,6 @@ <list> <string>my_title</string> <string>my_specialise_title</string> - <string>my_expand_links_content_by_default</string> <string>my_translated_validation_state_title</string> </list> </value> diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_view/my_expand_links_content_by_default.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_view/my_expand_links_content_by_default.xml deleted file mode 100644 index 7115dd0f03..0000000000 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_view/my_expand_links_content_by_default.xml +++ /dev/null @@ -1,171 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="CheckBoxField" module="Products.Formulator.StandardFields"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>id</string> </key> - <value> <string>my_expand_links_content_by_default</string> </value> - </item> - <item> - <key> <string>message_values</string> </key> - <value> - <dictionary> - <item> - <key> <string>external_validator_failed</string> </key> - <value> <string>The input failed the external validator.</string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>overrides</string> </key> - <value> - <dictionary> - <item> - <key> <string>alternate_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>css_class</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>default</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>editable</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>enabled</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>external_validator</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>extra</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>hidden</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>tales</string> </key> - <value> - <dictionary> - <item> - <key> <string>alternate_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>css_class</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>default</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>editable</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>enabled</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>external_validator</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>extra</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>hidden</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>values</string> </key> - <value> - <dictionary> - <item> - <key> <string>alternate_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>css_class</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>default</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>editable</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>enabled</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>external_validator</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>extra</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>hidden</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Expand Links Content By Default</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision index a71e551f35..5a40cf687a 100644 --- a/bt5/erp5_knowledge_pad/bt/revision +++ b/bt5/erp5_knowledge_pad/bt/revision @@ -1 +1 @@ -430 \ No newline at end of file +435 \ No newline at end of file diff --git a/bt5/erp5_knowledge_pad/bt/template_portal_type_property_sheet_list b/bt5/erp5_knowledge_pad/bt/template_portal_type_property_sheet_list index dd28dd1e23..e69de29bb2 100644 --- a/bt5/erp5_knowledge_pad/bt/template_portal_type_property_sheet_list +++ b/bt5/erp5_knowledge_pad/bt/template_portal_type_property_sheet_list @@ -1 +0,0 @@ -Knowledge Box | KnowledgeBox \ No newline at end of file -- 2.30.9