X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c4fa700661c2b69ae02eb282b25bb11d5ebc30f4..162b4fd442c169a61d2f5b2b3bd613546c8472da:/forum/skins/default/templates/base_content.html diff --git a/forum/skins/default/templates/base_content.html b/forum/skins/default/templates/base_content.html index d1d3bd9..a07b2ba 100644 --- a/forum/skins/default/templates/base_content.html +++ b/forum/skins/default/templates/base_content.html @@ -1,10 +1,11 @@ -{% load i18n %} -{% load extra_tags %} +{% load i18n extra_tags extra_filters markup ui_registry %} {% block fulltitle %}{% block title %}{% endblock %} - {{ settings.APP_SHORT_NAME }}{% endblock %} + + {% block meta %}{% endblock %} {% if settings.GOOGLE_SITEMAP_CODE %} @@ -12,6 +13,9 @@ {% endif %} + {% if settings.USE_CUSTOM_CSS|or_preview:request %} + + {% endif %} {% block forestyle %}{% endblock %} @@ -29,7 +33,8 @@ message: "{% trans "Message:" %}", cancel: "{% trans "Cancel" %}", close: "{% trans "Close" %}", - ok: "{% trans "Ok" %}" + ok: "{% trans "Ok" %}", + matching_tags_url: "{% url matching_tags %}", } /* ]] */ @@ -46,8 +51,12 @@ }); {% endif %} + {% if settings.USE_CUSTOM_HEAD|or_preview:request %} + {{ settings.CUSTOM_HEAD|or_preview:request|safe }} + {% endif %} {% block forejs %}{% endblock %} + {% loadregistry head_content %}{% endloadregistry %} + {% if settings.USE_CUSTOM_HEADER|or_preview:request %} +
+ {{ settings.CUSTOM_HEADER|or_preview:request|markdown:"settingsparser" }} +
+ {% endif %} {% include "header.html" %} {% block page_center %}
@@ -77,7 +91,29 @@
{% endblock %} - {% include "footer.html" %} + {% if settings.USE_CUSTOM_FOOTER|or_preview:request %} + {% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "above" %} + + {% endifequal %} +
+ {% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "replace" %} + {{ settings.CUSTOM_FOOTER|or_preview:request|markdown:"settingsparser" }} + {% else %} + {% include "footer.html" %} + {% endifequal %} +
+ {% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "below" %} + + {% endifequal %} + {% else %} +
+ {% include "footer.html" %} +
+ {% endif %} {% block endjs %} {% endblock %} {% if settings.GOOGLE_ANALYTICS_KEY %}