Commit 262e9b23 authored by Ivan Tyagov's avatar Ivan Tyagov

Show create your own tab only if current user can actually do it.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40478 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e62c22a0
......@@ -250,7 +250,7 @@
title="Add new tab"\n
id="add_new_tab_dialog_link">Add tab</li>\n
<li class="tab"\n
tal:condition="isKnowledgePadTemplateUsed"\n
tal:condition="python: isKnowledgePadTemplateUsed and isUserAllowedToCreateKnowledgePads"\n
onclick="showCreateDefaultKnowledgePadWarningMessage();"\n
i18n:translate="title" i18n:domain="ui"\n
title="Create your own tab"\n
......
610
\ No newline at end of file
612
\ 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