Use a context variable (web_theme_view_type) to determine the web theme view mode instead of using the user login status
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
{% if user.is_anonymous %}
|
||||
{% if web_theme_view_type == 'plain' %}
|
||||
<div id="box">
|
||||
{% block content_plain %}{% endblock %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user