X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..745f67c37acdb9574c5297004adde2b9a7da5fdb:/forum/skins/default/templates/index.html diff --git a/forum/skins/default/templates/index.html b/forum/skins/default/templates/index.html index 901c409..94552e6 100644 --- a/forum/skins/default/templates/index.html +++ b/forum/skins/default/templates/index.html @@ -2,15 +2,29 @@ {% load general_sidebar_tags %} {% load question_list_tags %} -{% load cache %} - +{% load i18n %} +{% block fulltitle %}{{ settings.APP_TITLE }}{% endblock %} {% block sidebar %} -{% cache 60 index_sidebar settings.APP_URL %} - {% question_list_count %} - {% tag_selector %} + {% if not request.user.is_authenticated %} + {% if settings.SHOW_WELCOME_BOX %} +
+

{% trans "welcome to " %}{{ settings.APP_SHORT_NAME }}

+
+ {{ settings.APP_INTRO|safe }} + + +
+
+ {% endif %} + {% endif %} + {% include "question_list/count.html" %} + {% sidebar_upper %} + {% if request.user.is_authenticated %} + {% tag_selector %} + {% endif %} + {% sidebar_lower %} {% recent_tags %} {% recent_awards %} -{% endcache %} {% endblock %}