[Erp5-report] r21021 - in /erp5/trunk/bt5/erp5_wizard: SkinTemplateItem/portal_skins/erp5_w...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 19 18:49:00 CEST 2008


Author: yo
Date: Mon May 19 18:48:59 2008
New Revision: 21021

URL: http://svn.erp5.org?rev=21021&view=rev
Log:
2008-05-19 yo
* Temporarily, recommend firefox for IE users.

Added:
    erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/wizard_helper.js.xml
Modified:
    erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_viewNextPossibleActionListRenderer.xml
    erp5/trunk/bt5/erp5_wizard/bt/change_log
    erp5/trunk/bt5/erp5_wizard/bt/revision

Modified: erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_viewNextPossibleActionListRenderer.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_viewNextPossibleActionListRenderer.xml?rev=21021&r1=21020&r2=21021&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_viewNextPossibleActionListRenderer.xml (original)
+++ erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/WizardTool_viewNextPossibleActionListRenderer.xml Mon May 19 18:48:59 2008
@@ -42,6 +42,12 @@
             </value>
         </item>
         <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
             <key> <string>_text</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
@@ -49,13 +55,12 @@
     tal:define="isAllowedExpress python: here.portal_wizard.getExpressConfigurationPreference(\'preferred_express_user_id\', None) is not None and\n
                                          here.portal_wizard.getExpressConfigurationPreference(\'preferred_express_password\', None) is not None">\n
 \n
-<h5 tal:condition="isAllowedExpress">\n
-  Please click <a href="next">HERE</a> to access ERP5 Express Configuration service.\n
-</h5>\n
+<h5 id="wizard_message" style="visibility:hidden;" tal:content="python:test(isAllowedExpress, \'true\', \'false\')"></h5>\n
 \n
-<h5 tal:condition="not: isAllowedExpress">\n
-  You can not access ERP5 Express Configuration service.\n
-</h5>\n
+<script type="text/javascript" src="wizard_helper.js"></script>\n
+<noscript>\n
+Please enable JavaScript in your web browser, otherwise the configuration server does not work properly.\n
+</noscript>\n
 \n
 </tal:block>
 

Added: erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/wizard_helper.js.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/wizard_helper.js.xml?rev=21021&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/wizard_helper.js.xml (added)
+++ erp5/trunk/bt5/erp5_wizard/SkinTemplateItem/portal_skins/erp5_wizard/wizard_helper.js.xml Mon May 19 18:48:59 2008
@@ -1,0 +1,74 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="File" module="OFS.Image"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_EtagSupport__etag</string> </key>
+            <value> <string>ts11215424.08</string> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>__name__</string> </key>
+            <value> <string>wizard_helper.js</string> </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>application/x-javascript</string> </value>
+        </item>
+        <item>
+            <key> <string>data</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+displayMessage = function () {\n
+  wizard_message = document.getElementById(\'wizard_message\');\n
+  wizard_message.style.visibility = \'visible\';\n
+  if (!/MSIE/.test(navigator.userAgent)) {\n
+    if (scrapeText(wizard_message) == \'true\') {\n
+      wizard_message.innerHTML = \'<a href="next">Please click here to access ERP5 Express Configuration service.</a>\';\n
+    } else {\n
+      wizard_message.innerHTML = \'You can not access ERP5 Express Configuration service.\';\n
+    }\n
+  } else {\n
+    wizard_message.innerHTML = \'<a href="http://www.mozilla.com/firefox/">Please click here to download Firefox, because your browser may not work properly. It is free.</a>\';\n
+  }\n
+}\n
+addLoadEvent(displayMessage);\n
+\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>precondition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>size</string> </key>
+            <value> <int>683</int> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_wizard/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_wizard/bt/change_log?rev=21021&r1=21020&r2=21021&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_wizard/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_wizard/bt/change_log Mon May 19 18:48:59 2008
@@ -1,3 +1,6 @@
+2008-05-19 yo
+* Temporarily, recommend firefox for IE users.
+
 2007-12-06 yo
 * Move portal_wizard to Tools.
 

Modified: erp5/trunk/bt5/erp5_wizard/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_wizard/bt/revision?rev=21021&r1=21020&r2=21021&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_wizard/bt/revision (original)
+++ erp5/trunk/bt5/erp5_wizard/bt/revision Mon May 19 18:48:59 2008
@@ -1,1 +1,1 @@
-63
+64




More information about the Erp5-report mailing list