]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/index.html
Javascript error in profile pages.
[osqa.git] / forum / skins / default / templates / index.html
index 0e24806957f37152ff591b911f7e921d6a36f1d1..3c145ef24f259370117c5ac4ea26e8dcb20a8dea 100644 (file)
@@ -6,14 +6,16 @@
 {% block fulltitle %}{{ settings.APP_TITLE }}{% endblock %}\r
 {% block sidebar %}\r
     {% if not request.user.is_authenticated %}\r
-    <div class="boxA">\r
-        <h3>{% trans "welcome to " %}{{ settings.APP_SHORT_NAME }}</h3>\r
-        <div class="body">\r
-          {{ settings.APP_INTRO|safe }}\r
-          <div class="more"><a href="{% url about %}">{% trans "about" %} </a></div>\r
-          <div class="more"><a href="{% url faq %}">{% trans "faq" %} </a></div>\r
-        </div>\r
-    </div>\r
+        {% if settings.SHOW_WELCOME_BOX %}\r
+            <div class="boxA">\r
+                <h3>{% trans "welcome to " %}{{ settings.APP_SHORT_NAME }}</h3>\r
+                <div class="body">\r
+                  {{ settings.APP_INTRO|safe }}\r
+                  <div class="more"><a href="{% url about %}">{% trans "about" %} </a></div>\r
+                  <div class="more"><a href="{% url faq %}">{% trans "faq" %} </a></div>\r
+                </div>\r
+            </div>\r
+        {% endif %}\r
     {% endif %}\r
     {% question_list_count %}\r
     {% sidebar_upper %}\r