Commit 85f61a53 authored by Ivan Tyagov's avatar Ivan Tyagov

Show only if we have a pad to which we can add gadgets.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43557 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f94da3b7
......@@ -66,15 +66,15 @@
editable_mode python: context.REQUEST.get(\'editable_mode\', False);\n
cancel_url string:${current_web_section_url}/view">\n
\n
<ul class="widget_management_box">\n
<ul tal:condition="active_knowledge_pad"\n
class="widget_management_box">\n
<li>\n
<span metal:use-macro="container/Base_viewKnowledgePadMacroLibrary/macros/add_new_gadget"> Add Gadgets</span>\n
<span metal:use-macro="container/Base_viewKnowledgePadMacroLibrary/macros/stick"> Stick/Unstick</span>\n
</li>\n
</ul>\n
</tal:block>\n
</tal:block>\n
</tal:block>
]]></unicode> </value>
</item>
......@@ -92,7 +92,7 @@
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
<value> <string>iso-8859-15</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
1758
\ No newline at end of file
1759
\ 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