{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block content %}

{% trans "Delete event" %}

{% if request.event.allow_delete %} {% bootstrap_form_errors form layout="inline" %}

{% blocktrans trimmed %} This operation will destroy your event including all configuration, products, quotas, questions, vouchers, lists, etc. {% endblocktrans %}

{% blocktrans trimmed %} This operation is irreversible and there is no way to bring your data back. {% endblocktrans %}

{% csrf_token %}

{% blocktrans trimmed with slug=request.event.slug %} To confirm you really want this, please type out the event's short name ("{{ slug }}") here: {% endblocktrans %}

{% bootstrap_field form.slug layout="inline" %}
{% else %}

{% trans "Your event can not be deleted as it already contains orders." %}

{% blocktrans trimmed %} pretix does not allow deleting orders once they have been placed in order to be audit-proof and trustable by financial authorities. {% endblocktrans %}

{% if request.event.live %}

{% trans "You can instead take your shop offline. This will hide it from everyone except from the organizer teams you configured to have access to the event." %}

{% csrf_token %}
{% trans "Delete personal data" %}
{% else %}

{% trans "However, since your shop is offline, it is only visible to the organizing team according to the permissions you configured." %}

{% trans "Delete personal data" %}

{% endif %} {% endif %} {% endblock %}