From ec158a4a0bef582e571d534f424f9eed596d8192 Mon Sep 17 00:00:00 2001 From: hernani Date: Mon, 19 Apr 2010 16:45:52 +0000 Subject: [PATCH] putting back the welcome message git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@57 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/templates/index.html | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/forum/skins/default/templates/index.html b/forum/skins/default/templates/index.html index 901c409..45696bb 100644 --- a/forum/skins/default/templates/index.html +++ b/forum/skins/default/templates/index.html @@ -2,15 +2,24 @@ {% load general_sidebar_tags %} {% load question_list_tags %} -{% load cache %} - +{% load i18n %} {% block sidebar %} -{% cache 60 index_sidebar settings.APP_URL %} + {% if not request.user.is_authenticated %} +
+

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

+
+ {{ settings.APP_INTRO|safe }} + + +
+
+ {% endif %} {% question_list_count %} - {% tag_selector %} + {% if request.user.is_authenticated %} + {% tag_selector %} + {% endif %} {% recent_tags %} {% recent_awards %} -{% endcache %} {% endblock %} -- 2.39.5