Commit 6eba58d8 authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

Custom sidebar:
- sidebar_upper at the top;
- remove block visible to unregistred user;
parent da1d5675
......@@ -18,20 +18,8 @@
</style>
{% endblock %}
{% block sidebar %}
{% if not request.user.is_authenticated %}
{% if settings.SHOW_WELCOME_BOX %}
<div class="boxA">
<h3>{% trans "welcome to " %}{{ settings.APP_SHORT_NAME }}</h3>
<div class="body">
{{ settings.APP_INTRO|safe }}
<div class="more"><a href="{% url about %}">{% trans "about" %} </a></div>
<div class="more"><a href="{% url faq %}">{% trans "faq" %} </a></div>
</div>
</div>
{% endif %}
{% endif %}
{% include "question_list/count.html" %}
{% sidebar_upper %}
{% include "question_list/count.html" %}
{% if request.user.is_authenticated %}
{% tag_selector %}
{% endif %}
......
......@@ -40,7 +40,6 @@
{% block sidebar %}
{% include "question_list/count.html" %}
{% sidebar_upper %}
{% tag_selector %}
{% sidebar_lower %}
{% question_list_related_tags questions.paginator.page %}
......
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