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 71f1f09 commit 5a2670aCopy full SHA for 5a2670a
templates/minimal/html/user.item.html
@@ -32,8 +32,13 @@
32
33
<td class="content" metal:fill-slot="content">
34
35
-<p tal:condition="not:context/is_view_ok" i18n:translate="">You are not
36
- allowed to view this page.</p>
+<p tal:condition="python:not (context.is_view_ok()
+ or request.user.hasRole('Anonymous'))" i18n:translate="">
37
+ You are not allowed to view this page.</p>
38
+
39
+<p tal:condition="python:not context.is_view_ok()
40
+ and request.user.hasRole('Anonymous')" i18n:translate="">
41
+ Please login with your username and password.</p>
42
43
<div tal:condition="context/is_view_ok">
44
0 commit comments