[Erp5-report] r45199 lucas - in /erp5/trunk/bt5/erp5_configurator: SkinTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 7 21:43:33 CEST 2011


Author: lucas
Date: Thu Apr  7 21:43:33 2011
New Revision: 45199

URL: http://svn.erp5.org?rev=45199&view=rev
Log:
2011-04-07 lucas
* Added the page template of new user interface  which must replace the old your_business_configuration list field.

Added:
    erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml
Modified:
    erp5/trunk/bt5/erp5_configurator/bt/change_log
    erp5/trunk/bt5/erp5_configurator/bt/revision

Added: erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml?rev=45199&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml (added)
+++ erp5/trunk/bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_displayBusinessConfigurationList.xml [utf8] Thu Apr  7 21:43:33 2011
@@ -0,0 +1,112 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+    </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> <unicode encoding="cdata"><![CDATA[
+
+<table>\n
+  <tbody>\n
+    <tal:block define="business_configuration_list python: here.ConfiguratorTool_getAvailableBusinessConfigurationList()">\n
+\n
+      <div tal:condition="python: not business_configuration_list">\n
+        <h3 i18n:translate="" i18n:domain="ui"> There is no Business Configuration Available. </h3>\n
+      </div>\n
+\n
+      <tal:block condition="business_configuration_list">\n
+        <tal:block repeat="business_configuration_tuple business_configuration_list">\n
+          <tr>\n
+            <tal:block repeat="bc business_configuration_tuple">\n
+              <tal:block define="bc_id python: bc.getId();\n
+                                 bc_title python: bc.getTitle();\n
+                                 bc_description python: bc.getDescription();\n
+                                 bc_absolute_url python: bc.absolute_url();\n
+                                 bc_default_image python: bc.getDefaultImageValue();\n
+                                 bc_default_image_absolute_url python: bc.getDefaultImageAbsoluteUrl();">\n
+                <td>\n
+                  <div tal:attributes="id python: \'business_configuration_%s\' % bc_id;\n
+                                       class string:box;">\n
+\n
+                    <a tal:attributes="href bc_absolute_url" tal:content="python: bc_title" />\n
+\n
+                    <a tal:condition="bc_default_image" tal:attributes="href bc_absolute_url">\n
+                      <img tal:attributes="src python: \'%s?format=png\' % bc_default_image_absolute_url" />\n
+                    </a>\n
+\n
+                    <span tal:condition="bc_description"\n
+                          tal:content="python: \'%s ...\' % bc_description[:80]" />\n
+\n
+                    <button id="dialog_submit_button"\n
+                            accesskey="V"\n
+                            tal:attributes="value python: bc.getRelativeUrl()"\n
+                            type="submit"\n
+                            name="Base_callDialogMethod:method">Configure</button>\n
+                  </div>\n
+                </td>\n
+              </tal:block>\n
+            </tal:block>\n
+          </tr>\n
+        </tal:block>\n
+\n
+      </tal:block>\n
+    </tal:block>\n
+  </tbody>\n
+</table>
+
+]]></unicode> </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>ConfiguratorTool_displayBusinessConfigurationList</string> </value>
+        </item>
+        <item>
+            <key> <string>output_encoding</string> </key>
+            <value> <string>utf-8</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <unicode></unicode> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_configurator/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator/bt/change_log?rev=45199&r1=45198&r2=45199&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator/bt/change_log [utf8] Thu Apr  7 21:43:33 2011
@@ -1,4 +1,7 @@
 2011-04-07 lucas
+* Added the page template of new user interface  which must replace the old your_business_configuration list field.
+
+2011-04-07 lucas
 * Added CSS file which must be used to customize the new user interface.
 
 2011-04-07 lucas

Modified: erp5/trunk/bt5/erp5_configurator/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator/bt/revision?rev=45199&r1=45198&r2=45199&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator/bt/revision [utf8] Thu Apr  7 21:43:33 2011
@@ -1 +1 @@
-508
\ No newline at end of file
+509
\ No newline at end of file



More information about the Erp5-report mailing list