{% extends "pretixcontrol/organizers/base.html" %} {% load i18n %} {% load urlreplace %} {% load bootstrap3 %} {% load money %} {% block title %}{% trans "Reusable media" %}{% endblock %} {% block inner %}

{% trans "Reusable media" %}

{% if media|length == 0 and not filter_form.filtered %}

{% blocktrans trimmed %} No media have been created yet. {% endblocktrans %}

{% trans "Create a new medium" %}
{% else %}

{% trans "Filter" %}

{% bootstrap_field filter_form.query layout='inline' %}
{% bootstrap_field filter_form.status layout='inline' %}

{% trans "Create a new medium" %}

{% for m in media %} {% endfor %}
{% trans "Identifier" context "reusable_media" %} {% trans "Media type" context "reusable_media" %} {% trans "Connections" context "reusable_media" %}
{% if not m.active %}{% endif %} {{ m.identifier }} {% if not m.active %}{% endif %} {{ m.get_type_display }} {% if m.customer %} {{ m.customer }} {% endif %} {% if m.linked_orderposition %} {{ m.linked_orderposition.order.code }}-{{ m.linked_orderposition.positionid }} {% endif %} {% if m.linked_giftcard %} {{ m.linked_giftcard.secret }} {% endif %}
{% include "pretixcontrol/pagination.html" %} {% endif %} {% endblock %}