[Erp5-report] r38579 ivan - in /erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_k...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 23 10:32:41 CEST 2010


Author: ivan
Date: Thu Sep 23 10:32:40 2010
New Revision: 38579

URL: http://svn.erp5.org?rev=38579&view=rev
Log:
Other versions gadget uses listbox rather than hard coded Page template.

Removed:
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionGadget/document_other_version.xml
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionListWidget.xml

Removed: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionGadget/document_other_version.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionGadget/document_other_version.xml?rev=38578&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionGadget/document_other_version.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionGadget/document_other_version.xml (removed)
@@ -1,103 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>delegated_list</string> </key>
-            <value>
-              <list>
-                <string>enabled</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>document_other_version</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>field_id</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>form_id</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>target</string> </key>
-                    <value> <string></string> </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>tales</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>enabled</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>field_id</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>form_id</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>target</string> </key>
-                    <value> <string></string> </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>values</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>enabled</string> </key>
-                    <value> <int>1</int> </value>
-                </item>
-                <item>
-                    <key> <string>field_id</string> </key>
-                    <value> <string>document_other_version</string> </value>
-                </item>
-                <item>
-                    <key> <string>form_id</string> </key>
-                    <value> <string>WebSection_viewKMWidgetFieldLibrary</string> </value>
-                </item>
-                <item>
-                    <key> <string>target</string> </key>
-                    <value> <string>Click to edit the target</string> </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionListWidget.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionListWidget.xml?rev=38578&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionListWidget.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewVersionListWidget.xml (removed)
@@ -1,114 +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 tal:define="\n
-  default_section_document python: request.get(\'current_web_document\', here);\n
-  isDocument python: default_section_document.isDocument;">\n
-  \n
-  <tal:block tal:condition="isDocument">\n
-    <tal:block tal:condition="python: default_section_document.hasReference()">\n
-\n
-      <tal:block\n
-        tal:define="document_list  python:\n
-                      default_section_document.portal_catalog(reference=default_section_document.getReference(),\n
-                                                              uid=\'!=%s\' % default_section_document.getUid(), \n
-                                                              portal_type=default_section_document.getPortalDocumentTypeList());\n
-                    all_version_document_list_number python: len(document_list)">\n
-\n
-        <div class="related_docs" \n
-             tal:condition="all_version_document_list_number">\n
-          <div>\n
-            <ul>\n
-              <li tal:repeat="doc python: document_list">\n
-                <a tal:content="python: \'%s - %s - %s\' % (doc.getVersion(\'\'), doc.getLanguage(\'\'), doc.getTranslatedValidationStateTitle())" \n
-                    tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
-              </li>\n
-            </ul>\n
-          </div>\n
-        </div>\n
-\n
-        <div class="related_docs" tal:condition="python: all_version_document_list_number==0">\n
-          <div class="title" i18n:translate="" i18n:domain="ui">\n
-            No other version found.\n
-          </div>\n
-        </div>\n
-\n
-      </tal:block>\n
-    </tal:block>\n
-    <tal:block tal:condition="python: not default_section_document.hasReference()">\n
-      <div i18n:translate="" i18n:domain="ui">\n
-        No reference defined.\n
-      </div>\n
-    </tal:block>\n
-  </tal:block>\n
-\n
-\n
-  <tal:block tal:condition="not: isDocument">\n
-    <div i18n:translate="" i18n:domain="ui">\n
-      No other version found.\n
-    </div>\n
-  </tal:block>\n
-\n
-</tal:block>\n
-
-
-]]></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>Document_viewVersionListWidget</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>




More information about the Erp5-report mailing list