We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ecd48c commit bd04f53Copy full SHA for bd04f53
website/issues/html/query.item.html
@@ -1,3 +1,15 @@
1
<!-- query.item -->
2
-<span tal:replace="structure context/renderQueryForm" />
3
-
+<span tal:condition="context/is_view_ok" tal:replace="structure
+ context/renderQueryForm" />
4
+<tal:block tal:condition="not:context/is_view_ok">
5
+ <tal:block metal:use-macro="templates/page/macros/icing">
6
+ <title metal:fill-slot="head_title">You can not view query</title>
7
+ <tal:block metal:fill-slot="body_title">
8
+ You can not view query.
9
+ </tal:block>
10
+ <td class="content" metal:fill-slot="content">
11
+ You are not allowed to view <span tal:content="context/_classname"/>
12
+ with id <span tal:content="context/id"/>
13
+ </td>
14
15
+</tal:block>
0 commit comments