{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% block title %}{% trans "Certificate of attendance templates" %}{% endblock %} {% block content %}

{% trans "Certificate of attendance templates" %}

{% trans "Who gets which certificate" %}

{% blocktrans trimmed %} Tie a template to a check-in list (for example "Passed the course") so only attendees checked in on that list are eligible for it. Attendees can be eligible for several templates. {% endblocktrans %}

{% csrf_token %} {% for a in assignments %} {% empty %} {% endfor %}
{% trans "Template" %} {% trans "Only for attendees checked in on" %}
{{ a.layout.name }}
{% trans "No templates are available for this event yet." %}

{% trans "Only for paid orders, after the event is over, and only for attendees who were checked in on any check-in list. Templates tied to a check-in list additionally need a check-in on that list." %}

{% if "can_change_event_settings" in request.eventpermset %} {% endif %}

{% trans "Organizer-wide templates" %}

{% blocktrans trimmed %} These templates are managed centrally for your whole organizer. Activate the ones you want to use for this event. {% endblocktrans %}

{% for row in organizer_layouts %} {% empty %} {% endfor %}
{% trans "Name" %} {% trans "Used for this event" %}
{% if can_edit_organizer_layouts %} {{ row.layout.name }} {% else %} {{ row.layout.name }} {% endif %} {% if "can_change_event_settings" in request.eventpermset %}
{% csrf_token %} {% if row.active %} {% else %} {% endif %}
{% else %} {% if row.active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %} {% endif %}
{% if can_edit_organizer_layouts %} {% endif %}
{% trans "Your organizer has not created any templates yet." %}

{% trans "Templates for this event only" %}

{% if "can_change_event_settings" in request.eventpermset %} {% trans "Create a new template for this event" %} {% endif %} {% for row in event_layouts %} {% with l=row.layout %} {% endwith %} {% empty %} {% endfor %}
{% trans "Name" %}
{% if "can_change_event_settings" in request.eventpermset %} {{ l.name }} {% else %} {{ l.name }} {% endif %} {% if not row.active %} {% trans "Deactivated" %} {% endif %} {% if "can_change_event_settings" in request.eventpermset %}
{% csrf_token %} {% if row.active %} {% else %} {% endif %}
{% endif %}
{% trans "You haven't created any event-specific templates yet." %}
{% endblock %}