{% load static from staticfiles %} {% load bootstrap3 i18n %} {% load cosinnus_tags %} {% load djajax_tags %} {% load django_select2_tags %} {% load sekizai_tags %} {% load wagtailcore_tags %} {% block og_meta_attributes %} {% endblock og_meta_attributes %} {% block page_title %}{% endblock page_title %}{% block base_page_title %}{% if SETTINGS.COSINNUS_BASE_PAGE_TITLE_TRANS %} - {% trans SETTINGS.COSINNUS_BASE_PAGE_TITLE_TRANS %}{% endif %}{% endblock base_page_title %} {% block csshead %} {% comment %} Statics for Select2, always loaded, but only once {% endcomment %} {% import_django_select2_css %} {% if SETTINGS.DEBUG %} {% else %} {% endif %} {% endblock csshead %} {% block base_jshead %} {% comment %} Bare JS required for the site. Only this is loaded on auth pages {% endcomment %} {% endblock base_jshead %} {% block jshead %} {% comment %} Load this for sortable dashboard widgets {% endcomment %} {% if SETTINGS.COSINNUS_ALLOW_DASHBOARD_WIDGET_REARRANGE %} {% endif %} {% comment %} Statics for Select2, always loaded, but only once {% endcomment %} {% import_django_select2_js %} {% endblock jshead %} {% block cosinnus_jshead %} {% endblock cosinnus_jshead %} {% captureas cosinnus_css_class %}{% if COSINNUS_CURRENT_APP == 'todo' %}app-todos{% elif COSINNUS_CURRENT_APP == 'note' %}app-main{% elif COSINNUS_CURRENT_APP == 'file' %}app-files{% elif COSINNUS_CURRENT_APP == 'event' %}app-calendar{% elif COSINNUS_CURRENT_APP %}app-{{ COSINNUS_CURRENT_APP }}{% else %}app-main{% endif %} {% if request.path == '/' %}landing{% endif %}{% endcaptureas %} {% include 'cosinnus/extrahead.html' %} {% block extrahead %}{% endblock extrahead %} {% render_block "css" %} {# sekizai use for extra scripts/styles #} {% render_block "js" %} {# sekizai use for extra scripts/styles #} {% comment %} 'lang=' attribute is required for OSM-Field language definition {% endcomment %} {% include 'cosinnus/extra_body_header.html' %} {% block body_header %}{% endblock body_header %} {% block cosinnus_navbar %} {% cosinnus_menu "cosinnus/navbar.html" %} {% endblock cosinnus_navbar %}
{% block main_page_header %}{% endblock main_page_header %} {% block main_page %}
{% block override_breadcrumb %} {% endblock override_breadcrumb %}
{# this fixes the breadcrumb being unclickable in mobile views #}
{% block override_leftnav %}
{% if group %} {% cosinnus_menu "cosinnus/appsmenu.html" %} {% endif %} {% block leftnav %}{% endblock leftnav %}
{% endblock override_leftnav %}
{% include 'cosinnus/messages.html' %} {% block content %}{% endblock content %}
{% endblock main_page %} {% include 'cosinnus/feedback/report_modal.html' %}
{% block footer %} {% with portal_cms_roots=COSINNUS_CURRENT_PORTAL.wagtail_root_pages.all %} {% if portal_cms_roots and portal_cms_roots.0.footer %} {% else %}


{% endif %} {% endwith %} {% endblock footer %} {% block extrafooter %} {% include 'cosinnus/extrafooter.html' %} {% djajax generate %} {% endblock extrafooter %}