From 82cb47f840910675d60cd6e210399144166c7e5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Ninivin?= <cedric.leninivin@tiolive.com> Date: Wed, 29 Oct 2014 14:51:41 +0000 Subject: [PATCH] erp5_knowledge_pad: fix condition in same block as define For Base_viewKnowledgePadMacroLibrary --- .../erp5_knowledge_pad/Base_viewKnowledgePadMacroLibrary.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewKnowledgePadMacroLibrary.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewKnowledgePadMacroLibrary.xml index f4667529a4..8bdf2da084 100644 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewKnowledgePadMacroLibrary.xml +++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Base_viewKnowledgePadMacroLibrary.xml @@ -145,8 +145,8 @@ id="add_new_tab_dialog_add_button">Add</button>\n </div>\n \n + <tal:block tal:condition="python:active_knowledge_pad is not None">\n <div id="rename_tab_dialog" \n - tal:condition="python:active_knowledge_pad is not None"\n class="toggable_dialog"\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 @@ -171,6 +171,7 @@ </button>\n </div>\n </tal:block>\n +</tal:block>\n \n \n <tal:block metal:define-macro="navigation"\n -- 2.30.9