{% extends 'base.html' %} {% load static %} {% load rules %} {% load projectroles_tags %} {% load projectroles_common_tags %} {% block css %} {{ block.super }} {% get_sidebar_notch_size as sidebar_notch_size %} {% get_sidebar_notch_pos as sidebar_notch_pos %} {% get_sidebar_padding as sidebar_padding %} {% endblock %} {% block content %} {% get_django_setting 'PROJECTROLES_KIOSK_MODE' as kiosk_mode %} {% get_sidebar_icon_size as sidebar_icon_size %} {# Ensure passing CSRF token to Ajax API views #} {% csrf_token %} {# Sidebar #} {% if not kiosk_mode %}
{% endif %}
{% get_django_setting 'PROJECTROLES_BREADCRUMB_STICKY' default=True as breadcrumb_sticky %} {# Sticky project breadcrumb navigation #} {% if breadcrumb_sticky %} {% include 'projectroles/_project_navi.html' %} {% endif %}
{% if not breadcrumb_sticky %} {# Scrolling project breadcrumb navigation #} {% include 'projectroles/_project_navi.html' %} {% endif %} {# Django messages / site app messages #} {% include 'projectroles/_messages.html' %} {# Actual content #}
{% block projectroles %} Projectroles app content here {% endblock projectroles %}
{# Footer #} {% template_exists 'include/_footer.html' as footer_exists %}
{% if footer_exists %} {% include 'include/_footer.html' %} {% else %} {% include 'projectroles/_footer.html' %} {% endif %}
{% endblock content %} {% block javascript %} {{ block.super }} {# Django admin link warning #} {% if request.user.is_superuser %} {% get_admin_warning as admin_warning %} {% endif %} {% endblock javascript %}