[Erp5-report] r14878 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 19 16:33:02 CEST 2007


Author: romain
Date: Tue Jun 19 16:33:01 2007
New Revision: 14878

URL: http://svn.erp5.org?rev=14878&view=rev
Log:
Do not use build_error_list on PlanningBoxWidget anymore.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_content.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_content.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_content.xml?rev=14878&r1=14877&r2=14878&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_content.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_content.xml Tue Jun 19 16:33:01 2007
@@ -79,51 +79,7 @@
 Beware this only generates the HTML code, no CSS generation is done in this script\n
 -->\n
 \n
-\n
-<tal:block tal:condition="python:struct.build_error_list != None"\n
-           tal:define="struct options/struct;\n
-                       basic python:struct.basic;\n
-                       address python:basic.here.getUrl()">\n
-  <input type="hidden" name="list_selection_name" value="PLanningView" tal:attributes="value python:basic.field.get_value(\'selection_name\')"/>\n
-\n
-  <table>\n
-  <tr><td><h3><span tal:replace="structure python:struct.basic.field.get_value(\'title\')"/>\n
-  </h3></td>\n
-  <td>\n
-    <select name="report_root_url" onChange="submitAction(this.form,\'/setReportRoot\')"\n
-            tal:attributes="onChange string:submitAction(this.form,\'${address}/setReportRoot\')">\n
-      <tal:block tal:condition="python:basic.selection is None"\n
-                tal:define="global selection_report_path python:basic.report_root_list[0][0]"/>\n
-      <tal:block tal:condition="python:basic.selection is not None"\n
-                tal:define="global selection_report_path python:basic.selection.report_path"/>\n
-      <tal:block tal:repeat="report_root_element python:basic.report_root_list">\n
-        <tal:block tal:condition="python:report_root_element[0]==selection_report_path">\n
-        <b tal:replace="nothing">actual value is selected</b>\n
-        <option selected="selected" value="None"\n
-                tal:attributes="value python:report_root_element[0]"\n
-                tal:content="structure python:report_root_element[1]">_</option>\n
-        </tal:block>\n
-        <tal:block tal:condition="python:report_root_element[0]!=selection_report_path">\n
-        <b tal:replace="nothing">actual value is not selected</b>\n
-        <option value="None"\n
-                tal:attributes="value python:report_root_element[0]"\n
-                tal:content="structure python:report_root_element[1]">_</option>\n
-        </tal:block>\n
-      </tal:block>\n
-    </select>\n
-  </td>\n
-  </tr>\n
-  </table>\n
-\n
-  <tal:block tal:repeat="error_message python:struct.build_error_list"\n
-             tal:content="python:str(error_message)">\n
-  </tal:block>\n
-\n
-</tal:block>\n
-\n
-\n
-<tal:block tal:condition="python:struct.build_error_list == None"\n
-           tal:define="struct options/struct">\n
+<tal:block tal:define="struct options/struct">\n
 <tal:block tal:define="basic python:struct.basic;\n
                        planning python:struct.planning;\n
                        address python:basic.here.getUrl()">\n
@@ -413,8 +369,7 @@
 </div>\n
 \n
 <!-- planning content-->\n
-<div class="planning_content"\n
-     tal:condition="python:struct.build_error_list == None">\n
+<div class="planning_content">\n
 \n
   <!-- display main axis lines -->\n
   <tal:block tal:repeat="axis_group python:planning.main_axis.axis_group">\n
@@ -499,7 +454,8 @@
 <!--/div-->\n
 </div>\n
 </tal:block>\n
-</tal:block>
+</tal:block>\n
+
 
 ]]></string> </value>
         </item>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml?rev=14878&r1=14877&r2=14878&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_css.xml Tue Jun 19 16:33:01 2007
@@ -98,11 +98,6 @@
 script (\'planning_css\') to have CSS compliant code, no HTML generation is\n
 done in this script.\n
 """\n
-\n
-if structure.build_error_list != None:\n
-  # structure contains errors, do not need to do any further processing about\n
-  # CSS generation. Error display will be handled in html rendering.\n
-  return \'\'\n
 \n
 \n
 properties_structure = context.planning_coordinates(structure)\n
@@ -236,13 +231,13 @@
                           <tuple>
                             <string>structure</string>
                             <string>_getattr_</string>
-                            <string>None</string>
                             <string>context</string>
                             <string>properties_structure</string>
                             <string>block_string</string>
                             <string>block_object_list</string>
                             <string>_getiter_</string>
                             <string>block_object_string</string>
+                            <string>None</string>
                             <string>block_dict</string>
                             <string>block_sub_list</string>
                             <string>_getitem_</string>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=14878&r1=14877&r2=14878&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Tue Jun 19 16:33:01 2007
@@ -1,1 +1,1 @@
-383
+384




More information about the Erp5-report mailing list