Commit 5eeea68e authored by Mayoro Diagne's avatar Mayoro Diagne

2009-12-31 mayoro

* revert commit r31528, bug was fix by commit r31549 by removing duplicates of uri and class_name in DocumentationHelper_viewDocumentationHelper and BusinessTemplateDocumentationHelper_view

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31554 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05a306be
......@@ -53,21 +53,15 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
from Products.ERP5Form.Report import ReportSection\n
<value> <string>from Products.ERP5Form.Report import ReportSection\n
result = []\n
request = context.REQUEST\n
uri = request.get(\'uri\', None)\n
if uri is None:\n
uri = request.get(\'field_your_uri\')\n
if len(uri)>0:\n
uri = uri[0]\n
class_name = request.get(\'class_name\', None)\n
if class_name is None:\n
class_name = request.get(\'field_your_class_name\')\n
if len(class_name)>0:\n
class_name = class_name[0]\n
\n
result.append(\n
ReportSection(\n
......@@ -81,9 +75,7 @@ result.append(\n
)\n
)\n
return result\n
]]></string> </value>
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
......@@ -127,8 +119,6 @@ return result\n
<string>request</string>
<string>None</string>
<string>uri</string>
<string>len</string>
<string>_getitem_</string>
<string>class_name</string>
<string>False</string>
</tuple>
......
2009-12-31 mayoro
* revert commit r31528, bug was fix by commit r31549 by removing duplicates of uri and class_name in DocumentationHelper_viewDocumentationHelper and BusinessTemplateDocumentationHelper_view
2009-12-31 mayoro
* moving fields your_uri and your_class_name from hidden to bottom in DocumentationHelper_viewDocumentationHelper
......
204
\ No newline at end of file
206
\ No newline at end of file
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