{% extends 'dashboard/layout.html' %} {% load i18n %} {% block body_class %}promotions{% endblock %} {% block breadcrumbs %} {% endblock %} {% block headertext %} {{ heading }} {% endblock %} {% block dashboard_content %} {% block promotion_form %}
{% csrf_token %} {% include "partials/form_fields.html" with form=form %} {% block inlines %} {% endblock %} {% trans "or" %} {% trans "cancel" %}
{% endblock %} {% if promotion %}

{% trans "Pages displaying this content block" %}

{% if links %} {% for link in links %} {% endfor %}
{% trans "Page URL" %} {% trans "Position on page" %} {% trans "Actions" %}
{{ link.page_url }} {{ link.position }}
{% csrf_token %} {% trans "View all blocks on this page" %}
{% else %}

{% trans "This promotion is not displayed anywhere at the moment." %}

{% endif %}

{% trans "Add to a page" %}

{% csrf_token %} {% include "partials/form_fields_inline.html" with form=link_form %}
{% endif %} {% endblock %}