]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/header.html
OSQA-349
[osqa.git] / forum / skins / default / templates / header.html
index 12a684a2f04542dc5e435e125c7eec2867eed955..bf5160bf4c5dee337d35c7e496f52666f2d4f1e0 100644 (file)
@@ -1,10 +1,10 @@
 <!-- template header.html -->
-{% load extra_tags ui_registry i18n %}
+{% load extra_tags ui_registry i18n extra_filters markup %}
 
        <div id="roof">
                <div id="navBar">
                        <div id="top">
-                           {% loadregistry header_links %}
+                           {% loadregistry header_links %}{% endloadregistry %}
                        </div>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
             </tr>
                        </table>
                </div>
-       </div>
+               {% if settings.USE_ANNOUNCEMENT_BAR|or_preview:request %}
+        <div id="announcement">
+            {{ settings.ANNOUNCEMENT_BAR|or_preview:request|markdown:"settingsparser" }}
+        </div>
+        {% endif %}
+       </div>                 
 <!-- end template header.html -->