Commit 23da3f0d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix conditions to display knowledpad tools.

parent f09470ee
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
not waitForActivitiesOnServer and\n not waitForActivitiesOnServer and\n
active_knowledge_pad is not None">\n active_knowledge_pad is not None">\n
\n \n
<tal:block tal:condition="not: isAnon"> \n <tal:block tal:condition="python:not (isAnon or isAnonymousKnowledgePadUsed)"> \n
<div id="pad-navigation-wrapper">\n <div id="pad-navigation-wrapper">\n
<span metal:use-macro="container/Base_viewKnowledgePadMacroLibrary/macros/navigation"/>\n <span metal:use-macro="container/Base_viewKnowledgePadMacroLibrary/macros/navigation"/>\n
</div>\n </div>\n
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
\n \n
<h3 class="handle">\n <h3 class="handle">\n
<span class="handle">\n <span class="handle">\n
<tal:block tal:condition="python: not (is_anonymous_user and is_anonymous_knowledge_pad_used)">\n <tal:block tal:condition="python: not (is_anonymous_user or is_anonymous_knowledge_pad_used)">\n
<a class="clickable-block block-remove" \n <a class="clickable-block block-remove" \n
i18n:translate="" \n i18n:translate="" \n
i18n:domain="ui"\n i18n:domain="ui"\n
......
766 767
\ No newline at end of file \ 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