[Erp5-report] r39340 ivan - /erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_t...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 19 14:25:03 CEST 2010
Author: ivan
Date: Tue Oct 19 14:25:03 2010
New Revision: 39340
URL: http://svn.erp5.org?rev=39340&view=rev
Log:
Use generic gadget column renderer.
Removed:
erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewColumnOne.xml
Removed: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewColumnOne.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewColumnOne.xml?rev=39339&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewColumnOne.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSection_viewColumnOne.xml (removed)
@@ -1,143 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <tuple>
- <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>_bind_names</string> </key>
- <value>
- <object>
- <klass>
- <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
- </klass>
- <tuple/>
- <state>
- <dictionary>
- <item>
- <key> <string>_asgns</string> </key>
- <value>
- <dictionary>
- <item>
- <key> <string>name_subpath</string> </key>
- <value> <string>traverse_subpath</string> </value>
- </item>
- </dictionary>
- </value>
- </item>
- </dictionary>
- </state>
- </object>
- </value>
- </item>
- <item>
- <key> <string>_text</string> </key>
- <value> <string encoding="cdata"><![CDATA[
-
-<tal:block \n
- tal:define="mode python: \'web_section\';\n
- default_pad_group python: options.get(\'default_pad_group\', None);\n
- knowledge_pads python: here.ERP5Site_getKnowledgePadListForUser(\n
-\t mode=mode,\n
- default_pad_group=default_pad_group);\n
- struct python: here.WebSite_getActiveKnowledgePadForUser(knowledge_pads, \n
- default_pad_group);\n
- active_knowledge_pad python: struct[0];\n
- knowledge_pads python: struct[1];\n
- hasUserActivity python: here.ERP5Site_hasUserActivity(\n
- active_knowledge_pad,\n
- mode=mode,\n
- default_pad_group=default_pad_group);\n
- isAnon python: context.portal_membership.isAnonymousUser();\n
- createDefaultPadForUser python: len(knowledge_pads)==0 and\n
- not hasUserActivity;\n
- waitForActivitiesOnServer python: active_knowledge_pad is None and\n
- hasUserActivity;\n
- current_web_section python:\n
- context.REQUEST.get(\'current_web_section\', here);\n
- current_web_section python:\n
- test(current_web_section.getPortalType()==\'Web Site\',\n
- here, current_web_section);\n
- current_web_section_url python: current_web_section.absolute_url();\n
- isUserAllowedToCreateKnowledgePads\n
- context/Base_isUserAllowedToUseKnowledgePad;\n
- isKnowledgePadTemplateUsed python:\n
- request.get(\'is_knowledge_pad_template_used\', 0);\n
- cancel_url string:${current_web_section_url}/view">\n
-\n
- <tal:block tal:condition="python: not createDefaultPadForUser and \n
- not waitForActivitiesOnServer and\n
- active_knowledge_pad is not None">\n
-\n
- <span metal:use-macro="container/Base_viewKnowledgePadMacroLibrary/macros/disable_server_integration"> Disable slot</span>\n
-\n
- <div class="portal-column" \n
- id="portal-column-0"\n
- tal:attributes="class python: test(isAnon, \n
- \'portal-column-undraggable\', \n
- \'portal-column\')"\n
- tal:define="layout active_knowledge_pad/KnowledgePad_getBoxColumnLayout;">\n
- <span tal:condition="python: len(layout)>=1"\n
- tal:replace="structure python:\n
- active_knowledge_pad.KnowledgePad_viewColumnWidget(section_layout=layout[0], \n
- real_context=here,\n
- cancel_url=cancel_url)"/>\n
- </div>\n
-\n
- </tal:block>\n
-\n
- <div tal:condition="python: not isAnon and \n
- createDefaultPadForUser and \n
- isUserAllowedToCreateKnowledgePads">\n
-\n
- <div class="wait_block">\n
- <h6 i18n:translate="" i18n:domain="ui"> \n
- Please wait until your area is being prepared.\n
- </h6>\n
- <p i18n:translate="" i18n:domain="ui"> \n
- You\'ll be automatically redirected in few seconds.\n
- </p>\n
-\n
- <script type="text/javascript"\n
- tal:content="structure python: \n
- \'\'\'createDefaultPadOnServer(5000,\n
- \'%s/ERP5Site_createDefaultKnowledgePadListForUser\', \n
- \'%s\', \'%s/view\', \'%s\');\'\'\' \n
- %(current_web_section_url, default_pad_group, current_web_section_url, mode)">\n
- </script>\n
- </div>\n
-\n
- </div>\n
- \n
- <span metal:use-macro="container/Base_viewKnowledgePadMacroLibrary/macros/knowledge_pad_security_check"> Security check\n
- </span>\n
- \n
- </tal:block>
-
-]]></string> </value>
- </item>
- <item>
- <key> <string>content_type</string> </key>
- <value> <string>text/html</string> </value>
- </item>
- <item>
- <key> <string>expand</string> </key>
- <value> <int>0</int> </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>WebSection_viewColumnOne</string> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string>Left Column</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
More information about the Erp5-report
mailing list