{% load bootstrap4 %} {% if 'use_i18n'|bootstrap_setting %} {% load i18n %} {% get_current_language as LANGUAGE_CODE %} {% endif %} {% load bootstrap_customizer %} {% load pwa %} {% load socialaccount %} {{ settings.PROJECT_LONG_NAME }} {% bootstrap_css %} {% load static %} {% if 'javascript_in_head'|bootstrap_setting %} {% if 'include_jquery'|bootstrap_setting %} {# jQuery JavaScript if it is in head #} {% bootstrap_jquery jquery='include_jquery'|bootstrap_setting %} {% endif %} {# Bootstrap JavaScript if it is in head #} {% bootstrap_javascript %} {% endif %} {% if form %} {{ form.media.css }} {% endif %} {% progressive_web_app_meta %} {% block extra_head %}{% endblock %}
{% block navbar %} {% endblock %} {# Global banner if config.NOTICE_TEXT is set using Constance #} {% if config.NOTICE_TEXT %} {% endif %} {% load hijack %} {# Hijack notification if user is hijacked #} {% if person.user == request.user and request.user.is_hijacked %}
{% blocktrans trimmed with user=request.user %} You are currently working on behalf of {{ user }}. {% endblocktrans %}
{% csrf_token %}
{% endif %} {% if request.user.is_authenticated and not request.user.has_person %} {% endif %} {% if request.user.is_authenticated and not request.user.consent_given %} {% endif %} {% block before_content %}{% endblock %}
{# Display Django messages as Bootstrap alerts #} {% bootstrap_messages %} {% block content %}{% endblock %}
{% block after_content %}{% endblock %}
{% if not 'javascript_in_head'|bootstrap_setting %} {% if 'include_jquery'|bootstrap_setting %} {# jQuery JavaScript if it is in body #} {% bootstrap_jquery jquery='include_jquery'|bootstrap_setting %} {% endif %} {# Bootstrap JavaScript if it is in body #} {% bootstrap_javascript %} {% endif %} {% if form %} {{ form.media.js }} {% endif %} {% block extra_script %}{% endblock %}