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 51471a0714621bfb69ea1d83efcefd8465ff6fc8..35646c9b63d767d2aeb31a3aaf786922ee89d43f 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 @@ -67,8 +67,6 @@ <tal:block metal:define-macro="add_new_gadget">\n <a href="GadgetTool_viewPrettyGadgetList"\n tal:condition="not: isKnowledgePadTemplateUsed"\n - tal:define="real_here python: request.get(\'current_web_section\', here);\n - real_here python: test(real_here.getPortalType()!=\'Web Site\', real_here, here);"\n tal:attributes="href python:\n \'GadgetTool_viewPrettyGadgetDialog?reset=1&cancel_url=%s&active_pad_relative_url=%s&mode=%s\'\n %(cancel_url, \n diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision index 95bae2dc25eac6dffc2bbe59d9171eddff487f68..8b120bce8f826ee72124b968b2dacabf3af889f1 100644 --- a/bt5/erp5_knowledge_pad/bt/revision +++ b/bt5/erp5_knowledge_pad/bt/revision @@ -1 +1 @@ -446 \ No newline at end of file +447 \ No newline at end of file