Commit 6b4a09f5 authored by Romain Courteaud's avatar Romain Courteaud

Replace here variable by context.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14906 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c17a3c00
...@@ -81,7 +81,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -81,7 +81,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
\n \n
<tal:block tal:define="basic options/basic;\n <tal:block tal:define="basic options/basic;\n
planning options/planning;\n planning options/planning;\n
address python:basic.here.getUrl()">\n address python:basic.context.getUrl()">\n
\n \n
<!-- hidden fields holding some usefull data-->\n <!-- hidden fields holding some usefull data-->\n
<input type="hidden" name="list_selection_name" value="PLanningView" tal:attributes="value python:basic.field.get_value(\'selection_name\')"/>\n <input type="hidden" name="list_selection_name" value="PLanningView" tal:attributes="value python:basic.field.get_value(\'selection_name\')"/>\n
...@@ -321,7 +321,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -321,7 +321,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
\n \n
<!-- inserting depth widget -->\n <!-- inserting depth widget -->\n
<div tal:condition= "python:axis==planning.X"\n <div tal:condition= "python:axis==planning.X"\n
tal:define="url python:\'%s/%s\' % (basic.here.absolute_url(),basic.form.id);\n tal:define="url python:\'%s/%s\' % (basic.context.absolute_url(),basic.form.id);\n
selection_name python:basic.field.get_value(\'selection_name\')"\n selection_name python:basic.field.get_value(\'selection_name\')"\n
tal:attributes="id python:axis.name + \'_depth\'">\n tal:attributes="id python:axis.name + \'_depth\'">\n
<a tal:repeat="unfold_level python:range(0,4)"\n <a tal:repeat="unfold_level python:range(0,4)"\n
...@@ -332,7 +332,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -332,7 +332,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
</div>\n </div>\n
\n \n
<div tal:condition= "python:axis==planning.Y"\n <div tal:condition= "python:axis==planning.Y"\n
tal:define="url python:\'%s/%s\' % (basic.here.absolute_url(),basic.form.id);\n tal:define="url python:\'%s/%s\' % (basic.context.absolute_url(),basic.form.id);\n
selection_name python:basic.field.get_value(\'selection_name\')"\n selection_name python:basic.field.get_value(\'selection_name\')"\n
tal:attributes="id python:axis.name + \'_depth\'">\n tal:attributes="id python:axis.name + \'_depth\'">\n
<a tal:repeat="unfold_level python:range(0,4)"\n <a tal:repeat="unfold_level python:range(0,4)"\n
...@@ -409,7 +409,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -409,7 +409,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<a tal:condition="python:block.info[area].info == \'__\'"\n <a tal:condition="python:block.info[area].info == \'__\'"\n
tal:attributes="href python:block.info[area].link;\n tal:attributes="href python:block.info[area].link;\n
class python:\'planning_box_\' + info_area">\n class python:\'planning_box_\' + info_area">\n
<img tal:attributes="src python:basic.here.getUrl() + \'/images/question.png\'"\n <img tal:attributes="src python:basic.context.getUrl() + \'/images/question.png\'"\n
height="15" width="15">\n height="15" width="15">\n
</a>\n </a>\n
</tal:block>\n </tal:block>\n
...@@ -448,7 +448,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri ...@@ -448,7 +448,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<div id="left" style="position:absolute; width:5px;height:5px; background:#a45d10"></div>\n <div id="left" style="position:absolute; width:5px;height:5px; background:#a45d10"></div>\n
\n \n
<!-- declaring DTML properties -->\n <!-- declaring DTML properties -->\n
<tal:block tal:replace="structure python:here.planning_dhtml(planning=planning)"/>\n <tal:block tal:replace="structure python:context.planning_dhtml(planning=planning)"/>\n
\n \n
<!--/div-->\n <!--/div-->\n
</div>\n </div>\n
......
388 389
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment