]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/index.html
Fixes (finaly) the email digest. Needs some improvements and some tweaks in the user...
[osqa.git] / forum / skins / default / templates / index.html
index 901c4095e6a2ba36675821a56e3c915132f32efb..3c145ef24f259370117c5ac4ea26e8dcb20a8dea 100644 (file)
@@ -2,15 +2,29 @@
 <!-- index.html -->\r
 {% load general_sidebar_tags %}\r
 {% load question_list_tags %}\r
-{% load cache %}\r
-\r
+{% load i18n %}\r
+{% block fulltitle %}{{ settings.APP_TITLE }}{% endblock %}\r
 {% block sidebar %}\r
-{% cache 60 index_sidebar settings.APP_URL %}\r
+    {% if not request.user.is_authenticated %}\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
-    {% tag_selector %}\r
+    {% sidebar_upper %}\r
+    {% if request.user.is_authenticated %}\r
+        {% tag_selector %}\r
+    {% endif %}\r
+    {% sidebar_lower %}\r
     {% recent_tags %}\r
     {% recent_awards %}\r
-{% endcache %}\r
 {% endblock %}\r
 <!-- index.html -->\r
 \r