diff --git a/src/pretix/control/templates/pretixcontrol/event/base.html b/src/pretix/control/templates/pretixcontrol/event/base.html index dae2dc08c..672c3110b 100644 --- a/src/pretix/control/templates/pretixcontrol/event/base.html +++ b/src/pretix/control/templates/pretixcontrol/event/base.html @@ -31,7 +31,7 @@
  • + {% if "event.settings.payment" in url_name %}class="active"{% endif %}> {% trans "Payment" %}
  • diff --git a/src/pretix/control/templates/pretixcontrol/event/delete.html b/src/pretix/control/templates/pretixcontrol/event/delete.html index cd6f09c71..095f913cd 100644 --- a/src/pretix/control/templates/pretixcontrol/event/delete.html +++ b/src/pretix/control/templates/pretixcontrol/event/delete.html @@ -2,81 +2,89 @@ {% 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 %} +
    +
    +

    {% trans "Delete event" %}

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

    - {% blocktrans trimmed with slug=request.event.slug %} - To confirm you really want this, please type out the event's short name ("{{ slug }}") here: + {% blocktrans trimmed %} + This operation will destroy your event including all configuration, products, quotas, questions, + vouchers, lists, etc. {% endblocktrans %}

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

    - {% blocktrans trimmed with slug=request.event.slug %} - Also, to make sure it's really you, please enter your user password here: +

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

    - {% bootstrap_field form.user_pw 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 %} - +

    + {% 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" %} +

    + {% blocktrans trimmed with slug=request.event.slug %} + Also, to make sure it's really you, please enter your user password here: + {% endblocktrans %} +

    + {% bootstrap_field form.user_pw layout="inline" %}
    - - - {% 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 "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." %}

    -

    +

    + {% endif %} {% endif %} - {% endif %} +
    +
    {% endblock %} diff --git a/src/pretix/control/templates/pretixcontrol/event/index.html b/src/pretix/control/templates/pretixcontrol/event/index.html index 59d504464..64854f8db 100644 --- a/src/pretix/control/templates/pretixcontrol/event/index.html +++ b/src/pretix/control/templates/pretixcontrol/event/index.html @@ -5,16 +5,20 @@ {% load staticfiles %} {% block title %}{{ request.event.name }}{% endblock %} {% block content %} -

    - {{ request.event.name }} - - {% if request.event.has_subevents %} - {% trans "Event series" %} - {% else %} - {{ request.event.get_date_range_display }} - {% endif %} - -

    +
    +
    +

    + {{ request.event.name }} + + {% if request.event.has_subevents %} + {% trans "Event series" %} + {% else %} + {{ request.event.get_date_range_display }} + {% endif %} + +

    +
    +
    {% if actions|length > 0 %}
    @@ -71,7 +75,6 @@ {% endfor %}
    -

     

    diff --git a/src/pretix/control/templates/pretixcontrol/event/invoicing.html b/src/pretix/control/templates/pretixcontrol/event/invoicing.html index 709ffcdf9..ef8085b46 100644 --- a/src/pretix/control/templates/pretixcontrol/event/invoicing.html +++ b/src/pretix/control/templates/pretixcontrol/event/invoicing.html @@ -5,33 +5,38 @@
    {% csrf_token %} {% bootstrap_form_errors form %} -
    - {% trans "Invoicing" %} - {% bootstrap_field form.invoice_address_asked layout="control" %} - {% bootstrap_field form.invoice_address_required layout="control" %} - {% bootstrap_field form.invoice_name_required layout="control" %} - {% bootstrap_field form.invoice_generate layout="control" %} - {% bootstrap_field form.invoice_email_attachment layout="control" %} - {% bootstrap_field form.invoice_address_vatid layout="control" %} - {% bootstrap_field form.invoice_numbers_consecutive layout="control" %} - {% bootstrap_field form.invoice_numbers_prefix layout="control" %} - {% bootstrap_field form.invoice_renderer layout="control" %} - {% bootstrap_field form.invoice_language layout="control" %} - {% bootstrap_field form.invoice_include_free layout="control" %} - {% bootstrap_field form.invoice_attendee_name layout="control" %} - {% bootstrap_field form.invoice_address_from layout="control" %} - {% bootstrap_field form.invoice_introductory_text layout="control" %} - {% bootstrap_field form.invoice_additional_text layout="control" %} - {% bootstrap_field form.invoice_footer_text layout="control" %} - {% bootstrap_field form.invoice_logo_image layout="control" %} +
    +
    + {% trans "Invoicing" %} +
    +
    + {% bootstrap_field form.invoice_address_asked layout="control" %} + {% bootstrap_field form.invoice_address_required layout="control" %} + {% bootstrap_field form.invoice_name_required layout="control" %} + {% bootstrap_field form.invoice_generate layout="control" %} + {% bootstrap_field form.invoice_email_attachment layout="control" %} + {% bootstrap_field form.invoice_address_vatid layout="control" %} + {% bootstrap_field form.invoice_numbers_consecutive layout="control" %} + {% bootstrap_field form.invoice_numbers_prefix layout="control" %} + {% bootstrap_field form.invoice_renderer layout="control" %} + {% bootstrap_field form.invoice_language layout="control" %} + {% bootstrap_field form.invoice_include_free layout="control" %} + {% bootstrap_field form.invoice_attendee_name layout="control" %} + {% bootstrap_field form.invoice_address_from layout="control" %} + {% bootstrap_field form.invoice_introductory_text layout="control" %} + {% bootstrap_field form.invoice_additional_text layout="control" %} + {% bootstrap_field form.invoice_footer_text layout="control" %} + {% bootstrap_field form.invoice_logo_image layout="control" %} +
    + + +
    +
    -
    - - -
    {% endblock %} diff --git a/src/pretix/control/templates/pretixcontrol/event/mail.html b/src/pretix/control/templates/pretixcontrol/event/mail.html index 139f6fc8e..157553631 100644 --- a/src/pretix/control/templates/pretixcontrol/event/mail.html +++ b/src/pretix/control/templates/pretixcontrol/event/mail.html @@ -17,7 +17,7 @@ {% bootstrap_field form.mail_bcc layout="control" %}

    -
    +
    {% blocktrans asvar title_placed_order %}Placed order{% endblocktrans %} {% include "pretixcontrol/event/mail_settings_fragment.html" with pid="order_placed" title=title_placed_order items="mail_text_order_placed" %} diff --git a/src/pretix/control/templates/pretixcontrol/event/payment.html b/src/pretix/control/templates/pretixcontrol/event/payment.html index 399a1a0b0..e32695dfa 100644 --- a/src/pretix/control/templates/pretixcontrol/event/payment.html +++ b/src/pretix/control/templates/pretixcontrol/event/payment.html @@ -58,12 +58,12 @@ {% bootstrap_field form.payment_term_expire_automatically layout="control" %} {% bootstrap_field form.payment_term_accept_late layout="control" %} {% bootstrap_field form.tax_rate_default layout="control" %} +
    + +
    -
    - -
    {% endblock %} diff --git a/src/pretix/control/templates/pretixcontrol/event/payment_provider.html b/src/pretix/control/templates/pretixcontrol/event/payment_provider.html index d859f21f1..86c088e1b 100644 --- a/src/pretix/control/templates/pretixcontrol/event/payment_provider.html +++ b/src/pretix/control/templates/pretixcontrol/event/payment_provider.html @@ -4,30 +4,37 @@ {% block inside %}
    {% csrf_token %} -
    - - - - {% trans "Back" %} - - {% trans "Payment provider:" %} {{ provider.verbose_name }} - - {% bootstrap_form form layout='control' %} - {% if settings_content %}{{ settings_content|safe }}{% endif %} -

     

    -