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:
Roberto Rosario
2012-01-08 04:40:02 -04:00
parent 0c02ac7d40
commit be1658505c

View File

@@ -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>