{% comment %} Blocks: bodyclass: The CSS class of the body element (e.g. body.layout-home) Defaults to "layout-wocat" navclass: The CSS class of the nav element Default: "is-wocat" filter: A block for the filters, right after `<header>` bottom: A block at the bottom of the body to add additional JS files. {% endcomment %} {% load change_language %} {% load clean_language_url %} {% load i18n static %} {% load leaflet_tags %} {% load message_tags %} {% block title %}QCAT{% endblock %} {% if GOOGLE_WEBMASTER_TOOLS_KEY %} {% endif %} {% block css %}{% endblock css %} {% block js_head %}{% endblock js_head %} {% leaflet_js %} {% leaflet_css %} {# Startfix #} {% comment %} After improving performance of foundation's tooltips (https://github.com/CDE-UNIBE/qcat/commit/35b208c), the first tooltip of each page was buggy and had a black box drawn over it. The quick and dirty solution to this: Add a hidden empty tooltip at the top of each page. {% endcomment %}
{# Endfix #} {% include "svg.html" %} {% comment %} TODO: COP12 {% endcomment %} {% show_messages %} {% block banner %} {% endblock %} {% block filter %} {% endblock %} {% block messages %} {% if messages %}
{% for message in messages %}
{% if 'safe' in message.tags %}{{ message|safe }}{% else %}{{ message }}{% endif %}
{% endfor %}
{% endif %} {% endblock %} {% block content %} {% endblock %} {# #} {% block js %}{% endblock js %} {% block footer %} {% if maintenance_warn_overlay %} {% endif %} {% endblock %} {% block help_tour %}{% endblock %} {% block bottom %}{% endblock %} {% include 'parts/tracking.html' %}