[Erp5-report] r13570 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 22 16:46:56 CET 2007
Author: rafael
Date: Thu Mar 22 16:46:47 2007
New Revision: 13570
URL: http://svn.erp5.org?rev=13570&view=rev
Log:
Fixes for setReportRoot in Planning Box
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getPlanningBox.xml
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/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getPlanningBox.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getPlanningBox.xml?rev=13570&r1=13569&r2=13570&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getPlanningBox.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getPlanningBox.xml Thu Mar 22 16:46:47 2007
@@ -70,9 +70,9 @@
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
-# Return first listbox in a form that is enabled and not hidden\n
+# Return first planningbox in a form that is enabled and not hidden\n
# Christophe Dumez <christophe at nexedi.com>\n
-# This script should be used to detect a listbox without having to name it "listbox"\n
+# This script should be used to detect a listbox planningbox having to name it "planningbox"\n
\n
form=context\n
\n
@@ -80,7 +80,7 @@
return None\n
\n
# we start with \'bottom\' because most of the time\n
-# the listbox is there.\n
+# the planningbox is there.\n
for group in (\'bottom\', \'center\', \'left\', \'right\'):\n
for field in form.get_fields_in_group(group):\n
if field.meta_type == \'PlanningBox\' and not(field[\'hidden\']) and field[\'enabled\']:\n
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=13570&r1=13569&r2=13570&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 Thu Mar 22 16:46:47 2007
@@ -90,8 +90,8 @@
<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,\'/portal_selections/setReportRoot\')"\n
- tal:attributes="onChange string:submitAction(this.form,\'${address}/portal_selections/setReportRoot\')">\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
@@ -147,8 +147,8 @@
</td>\n
<b tal:replace="nothing"><!-- report path selection --></b>\n
<td>\n
- <select name="report_root_url" onChange="submitAction(this.form,\'/portal_selections/setReportRoot\')"\n
- tal:attributes="onChange string:submitAction(this.form,\'${address}/portal_selections/setReportRoot\')">\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
@@ -451,13 +451,13 @@
tal:attributes="href python:block.info[area].link;\n
class python:\'planning_box_\' + info_area">\n
</a>\n
- <!--\n
+ \n
<a tal:condition="python:block.info[area].info == \'__\'"\n
tal:attributes="href python:block.info[area].link;\n
class python:\'planning_box_\' + info_area">\n
<img tal:attributes="src python:basic.here.getUrl() + \'/images/question.png\'"\n
height="15" width="15">\n
- </a> -->\n
+ </a>\n
</tal:block>\n
<tal:block tal:condition="python:info_area==\'center\'" >\n
<div tal:attributes="class python:\'planning_box_\' + info_area">\n
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=13570&r1=13569&r2=13570&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Thu Mar 22 16:46:47 2007
@@ -1,1 +1,1 @@
-350
+357
More information about the Erp5-report
mailing list