Commit f1bbed60 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_knowledge_pad: fix condition in same block as define

For Base_viewKnowledgePadMacroLibrary
parent 9d410e72
...@@ -145,8 +145,8 @@ ...@@ -145,8 +145,8 @@
id="add_new_tab_dialog_add_button">Add</button>\n id="add_new_tab_dialog_add_button">Add</button>\n
</div>\n </div>\n
\n \n
<tal:block tal:condition="python:active_knowledge_pad is not None">\n
<div id="rename_tab_dialog" \n <div id="rename_tab_dialog" \n
tal:condition="python:active_knowledge_pad is not None"\n
class="toggable_dialog"\n class="toggable_dialog"\n
tal:define="active_knowledge_pad_relative_url python:active_knowledge_pad and active_knowledge_pad.getRelativeUrl() or \'\'">\n tal:define="active_knowledge_pad_relative_url python:active_knowledge_pad and active_knowledge_pad.getRelativeUrl() or \'\'">\n
<h3 i18n:translate="" i18n:domain="ui"> Rename tab </h3>\n <h3 i18n:translate="" i18n:domain="ui"> Rename tab </h3>\n
...@@ -171,6 +171,7 @@ ...@@ -171,6 +171,7 @@
</button>\n </button>\n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
</tal:block>\n
\n \n
\n \n
<tal:block metal:define-macro="navigation"\n <tal:block metal:define-macro="navigation"\n
......
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