From 966d8531e88d13dcec80c30aa201cff125eca870 Mon Sep 17 00:00:00 2001 From: qw3rty Date: Wed, 12 May 2010 22:36:59 +0000 Subject: [PATCH] osqa - 235 add an option to show or not show the welcome box on the index page. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@243 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/templates/index.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/forum/skins/default/templates/index.html b/forum/skins/default/templates/index.html index 0e24806..3c145ef 100644 --- a/forum/skins/default/templates/index.html +++ b/forum/skins/default/templates/index.html @@ -6,14 +6,16 @@ {% block fulltitle %}{{ settings.APP_TITLE }}{% endblock %} {% block sidebar %} {% if not request.user.is_authenticated %} -
-

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

-
- {{ settings.APP_INTRO|safe }} - - -
-
+ {% if settings.SHOW_WELCOME_BOX %} +
+

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

+
+ {{ settings.APP_INTRO|safe }} + + +
+
+ {% endif %} {% endif %} {% question_list_count %} {% sidebar_upper %} -- 2.39.5