Commit 376a5042 authored by Ivan Tyagov's avatar Ivan Tyagov

Use default document (if available) for Web Section to show related documents.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21346 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c01a48e2
...@@ -45,7 +45,9 @@ ...@@ -45,7 +45,9 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
<tal:block tal:define="default_section_document python: here.getDefaultDocumentValue() or here"> \n <tal:block tal:define="\n
default_section_document python: test(here.getPortalType() in (\'Web Site\', \'Web Section\',), \n
here.getDefaultDocumentValue(), here)"> \n
\n \n
<tal:block tal:condition="default_section_document">\n <tal:block tal:condition="default_section_document">\n
<tal:block tal:define="related_wiki_successor_document_list python:\n <tal:block tal:define="related_wiki_successor_document_list python:\n
......
...@@ -45,8 +45,9 @@ ...@@ -45,8 +45,9 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
<tal:block tal:define="default_section_document python: here.getDefaultDocumentValue() or here">\n <tal:block tal:define="\n
\n default_section_document python: test(here.getPortalType() in (\'Web Site\', \'Web Section\',), \n
here.getDefaultDocumentValue(), here)"> \n
<tal:block tal:condition="default_section_document">\n <tal:block tal:condition="default_section_document">\n
<tal:block\n <tal:block\n
tal:define="related_successor_document_list python:\n tal:define="related_successor_document_list python:\n
......
633 634
\ No newline at end of file \ 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