Commit 89ec4634 authored by Mayoro Diagne's avatar Mayoro Diagne

2008-10-27: mayoro

- making level for Z SQL Method and Script Python in Skins Folder Documentation Helper

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24342 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 24f5632d
......@@ -188,6 +188,13 @@ for section in section_list:\n
for sub_child_section in sub_child_object.getSectionList(): \n
if sub_child_section.class_name in sub_displayed_class: \n
class_name = sub_child_section.class_name\n
if class_name != \'DCWorkflowScriptDocumentationHelper\':\n
result.append(\n
ReportSection(\n
level=6,\n
title=sub_child_section.title,\n
form_id=\'\')\n
)\n
results=context.DocumentationHelper_getDocumentationSectionListParams(class_name,\n
sub_child_section.uri_list, "%s:" % sub_child_object.getId())\n
result+=results[0]\n
......
......@@ -67,7 +67,7 @@ sub_displayed_class = [\'DCWorkflowScriptDocumentationHelper\',\n
\'ScriptPythonDocumentationHelper\',\n
\'ZSQLMethodDocumentationHelper\']\n
if class_name in sub_displayed_class:\n
level=6\n
level=7\n
else:\n
level=5\n
for uri in uri_list:\n
......
150
\ No newline at end of file
154
\ 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