{% load resource_tags %} {% load message_tags %} {% load backend_tags %} {% load list_tags %} {% block title %}{% endblock %} {% favicons %} {% inline_resources 'backend-inline' 'css' %} {% resources 'backend' 'css' %} {% resources 'backend' 'css' 'print' %} {% block css %}{% endblock %} {% if not close_index_dialog %} {% include "cubane/backend/icons.html" %}
{% if not is_browse_dialog and not is_dialog and request.user.is_staff %}
{% comment %} % main navigation corresponds to backend sections {% endcomment %} {% endif %}
Notifications {{ messages|length }}

Notifications

{% for message in messages %}
{% if message.tags == 'error' %} {% else %} {% endif %}
{{ message|safe }}
{% if message.extra_tags %}
Undo
{% endif %}
{% endfor %}
{% block content %}{% endblock %}
{% endif %} {% inline_resources 'backend-inline' 'js' %} {% javascript_urls %} {% include 'cubane/backend/includes/settings_js.html' %} {% resources 'backend' 'js' %} {% block js %}{% endblock %} {# -- notify frontend editing container whenever we have a browse window open #} {% if is_browse_dialog %} {% endif %} {# -- close dialog window once we created an entity using the "+" button #} {% if dialog_created_id %} {% endif %} {# -- close dialog window once we edited an entity using an edit button that was annotated with .edit-dialog #} {% if dialog_edited_id %} {% endif %} {# -- frontend editing dialog saved #} {% if frontend_editing_id %} {% endif %} {# -- close dialog window once we got back to index screen within a dialog window #} {% if close_index_dialog %} {% endif %}