From: qw3rty Date: Wed, 12 May 2010 22:36:59 +0000 (+0000) Subject: osqa - 235 X-Git-Tag: live~886 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/966d8531e88d13dcec80c30aa201cff125eca870?hp=932b30179d96675c0ea837dddcc86f248da452c2 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 --- 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 %}