{% extends 'base.html' %} {% load static %} {% load rules %} {% load projectroles_tags %} {% load projectroles_common_tags %} {% block css %} {{ block.super }} {% endblock %} {% block content %} {% get_django_setting 'PROJECTROLES_KIOSK_MODE' as kiosk_mode %} {% get_django_setting 'PROJECTROLES_TEMPLATE_INCLUDE_PATH' as template_include_path %} {# 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 %}
{# Scrolling project breadcrumb navigation #} {% if not breadcrumb_sticky %} {% 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 template_include_path|add:'/_footer.html' as footer_exists %}
{% if footer_exists %} {% include template_include_path|add:'/_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 %}