{% extends "backoffice/base.html" %} {% load i18n %} {% load widget_tweaks %} {% block title %} {% trans "Vouchers" %} | {{ assembly.name }} | {{ conference.name }} {% endblock title %} {% block content %} {% include "backoffice/assembly_edit_header.html" %}
{% trans "Vouchers" %}
{% trans "Assembly__edit__vouchers__explanation" %}
{% for voucher in vouchers %}
{{ voucher.name }}
{{ voucher.description }}
{% if voucher.contents == None %}
{% trans "Assembly__edit__vouchers__hidden_data" %}
{% else %} {% for content in voucher.contents %}
{% if voucher.data == 'text' %} {{ content }} {% elif voucher.data == 'url' %} {{ content }} {% else %}
{{ content }}
{% endif %}
{% empty %}
{% trans "Assembly__edit__vouchers__not_assigned" %}
{% endfor %} {% endif %}
{% endfor %}
{% endblock content %}