+
+ {% if layout %}
+
{% blocktrans with name=layout.name %}Badge layout: {{ name }}{% endblocktrans %}
+ {% else %}
+ {% trans "Badge layout" %}
+ {% endif %}
-
{% endblock %}
diff --git a/src/pretix/plugins/badges/templates/pretixplugins/badges/index.html b/src/pretix/plugins/badges/templates/pretixplugins/badges/index.html
index f4d674b51..56d3ab684 100644
--- a/src/pretix/plugins/badges/templates/pretixplugins/badges/index.html
+++ b/src/pretix/plugins/badges/templates/pretixplugins/badges/index.html
@@ -3,79 +3,87 @@
{% load money %}
{% block title %}{% trans "Badges" %}{% endblock %}
{% block content %}
-
{% trans "Badges" %}
- {% if layouts|length == 0 %}
-
-
- {% blocktrans trimmed %}
- You haven't created any badge layouts yet.
- {% endblocktrans %}
-
+
+ {% if layouts|length == 0 %}
+
+
+ {% blocktrans trimmed %}
+ You haven't created any badge layouts yet.
+ {% endblocktrans %}
+
- {% if "can_change_event_settings" in request.eventpermset %}
-
{% trans "Create a new badge layout" %}
+ {% if "can_change_event_settings" in request.eventpermset %}
+ {% trans "Create a new badge layout" %}
+
+ {% endif %}
+
+ {% else %}
+
+ {% if "can_change_event_settings" in request.eventpermset %}
+
{% trans "Create a new badge layout" %}
+
+ {% endif %}
+
{% trans "Print badges" %}
- {% endif %}
-
- {% else %}
-
- {% if "can_change_event_settings" in request.eventpermset %}
- {% trans "Create a new badge layout" %}
-
- {% endif %}
- {% trans "Print badges" %}
-
-
-
-
-
-
- {% trans "Name" %}
- {% trans "Default" %}
-
-
-
-
- {% for l in layouts %}
+
+
+
+
-
- {% if "can_change_event_settings" in request.eventpermset %}
-
- {{ l.name }}
-
- {% else %}
- {{ l.name }}
- {% endif %}
-
-
- {% if l.default %}
-
+ {% trans "Name" %}
+ {% trans "Default" %}
+
+
+
+
+ {% for l in layouts %}
+
+
+ {% if "can_change_event_settings" in request.eventpermset %}
+
+ {{ l.name }}
+
+ {% else %}
+ {{ l.name }}
+ {% endif %}
+
+
+ {% if l.default %}
+
{% trans "Default" %}
- {% elif "can_change_event_settings" in request.eventpermset %}
-
- {% endif %}
-
-
- {% if "can_change_event_settings" in request.eventpermset %}
-
-
- {% endif %}
-
-
- {% endfor %}
-
-
-
- {% endif %}
- {% include "pretixcontrol/pagination.html" %}
+ {% elif "can_change_event_settings" in request.eventpermset %}
+
+ {% endif %}
+
+
+ {% if "can_change_event_settings" in request.eventpermset %}
+
+
+ {% endif %}
+
+
+ {% endfor %}
+
+
+
+
+ {% endif %}
+
{% endblock %}
diff --git a/src/pretix/plugins/badges/views.py b/src/pretix/plugins/badges/views.py
index 1dca9347b..b2e663429 100644
--- a/src/pretix/plugins/badges/views.py
+++ b/src/pretix/plugins/badges/views.py
@@ -35,6 +35,7 @@ class LayoutListView(EventPermissionRequiredMixin, ListView):
permission = ('can_change_event_settings', 'can_view_orders')
template_name = 'pretixplugins/badges/index.html'
context_object_name = 'layouts'
+ paginate_by = 25
def get_queryset(self):
return self.request.event.badge_layouts.prefetch_related('item_assignments')
diff --git a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_assign.html b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_assign.html
index 6137cc9e3..3676390e8 100644
--- a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_assign.html
+++ b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_assign.html
@@ -1,23 +1,28 @@
{% extends basetpl %}
{% load i18n %}
{% block inner %}
-
{% blocktrans trimmed %}
- We've been unable to automatically determine how the columns in your file are aligned. Please help us
- by selecting which column contain what kind of data.
- {% endblocktrans %}
-
-
+
+
diff --git a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_base.html b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_base.html
index 91c0e35b0..d7670498f 100644
--- a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_base.html
+++ b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_base.html
@@ -3,7 +3,6 @@
{% load static %}
{% block title %}{% trans "Import bank data" %}{% endblock %}
{% block content %}
-
{% trans "Import bank data" %}
{% block inner %}
{% endblock %}
{% endblock %}
diff --git a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_form.html b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_form.html
index a94701afd..f87017623 100644
--- a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_form.html
+++ b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/import_form.html
@@ -23,7 +23,8 @@
Currently, this feature supports
.csv files and files in the MT940 format.
{% endblocktrans %}
{% if job_running %}
-
+
{% trans "An import is currently being processed, please try again in a few minutes." %}
@@ -31,7 +32,8 @@
{% endif %}
diff --git a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/job_detail.html b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/job_detail.html
index 00b86c9ab..c81b579ea 100644
--- a/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/job_detail.html
+++ b/src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/job_detail.html
@@ -2,48 +2,57 @@
{% load i18n %}
{% load staticfiles %}
{% block inner %}
-
{% trans "Import result" %}
- {% if job.state == "running" or job.state == "pending" %}
-
-
-
-
-
- {% trans "The result of your import is in progress. Please be patient while we process the data …" %}
-
+
+
+
{% trans "Import result" %}
- {% else %}
- {% if job.state == "error" %}
-
- {% trans "An internal error occurred during processing your data." %}
+ {% if job.state == "running" or job.state == "pending" %}
+
+
+
+
+
+ {% trans "The result of your import is in progress. Please be patient while we process the data …" %}
+
- {% elif transactions_ignored == 0 and transactions_invalid == 0 and transactions_valid == 0 %}
-
- {% trans "Your import did not contain any transactions that you did not import before." %}
-
- {% endif %}
+ {% else %}
+ {% if job.state == "error" %}
+
+
+ {% trans "An internal error occurred during processing your data." %}
+
+
+ {% elif transactions_ignored == 0 and transactions_invalid == 0 and transactions_valid == 0 %}
+
+
+ {% trans "Your import did not contain any transactions that you did not import before." %}
+
+
+ {% endif %}
-
-
- {{ transactions_valid }}
- {% trans "Orders marked as paid" %}
-
-
- {{ transactions_invalid }}
- {% trans "Invalid payments" %}
-
-
- {{ transactions_ignored }}
- {% trans "Ignored payments" %}
-
-
- {% if transactions_ignored or transactions_invalid %}
-
- {% trans "Review invalid and ignored payments" %} »
-
+
+
+ {{ transactions_valid }}
+ {% trans "Orders marked as paid" %}
+
+
+ {{ transactions_invalid }}
+ {% trans "Invalid payments" %}
+
+
+ {{ transactions_ignored }}
+ {% trans "Ignored payments" %}
+
+
+ {% if transactions_ignored or transactions_invalid %}
+
+ {% endif %}
{% endif %}
-
- {% endif %}
+
{% endblock %}
diff --git a/src/pretix/plugins/pretixdroid/signals.py b/src/pretix/plugins/pretixdroid/signals.py
index 12fd51976..ade624c8c 100644
--- a/src/pretix/plugins/pretixdroid/signals.py
+++ b/src/pretix/plugins/pretixdroid/signals.py
@@ -24,7 +24,7 @@ def control_nav_import(sender, request=None, **kwargs):
'event': request.event.slug,
'organizer': request.event.organizer.slug,
}),
- 'active': (url.namespace == 'plugins:pretixdroid' and url.url_name == 'config'),
+ 'active': (url.namespace == 'plugins:pretixdroid'),
'icon': 'mobile',
}
]
diff --git a/src/pretix/plugins/pretixdroid/templates/pretixplugins/pretixdroid/configuration.html b/src/pretix/plugins/pretixdroid/templates/pretixplugins/pretixdroid/configuration.html
index f59ca2f0a..e8b862c08 100644
--- a/src/pretix/plugins/pretixdroid/templates/pretixplugins/pretixdroid/configuration.html
+++ b/src/pretix/plugins/pretixdroid/templates/pretixplugins/pretixdroid/configuration.html
@@ -4,96 +4,115 @@
{% load staticfiles %}
{% block title %}{% trans "Check-in device configuration" %}{% endblock %}
{% block content %}
-
{% trans "Check-in device configuration" %}
-
{% blocktrans trimmed %}
- pretixdroid is an Android app that you can use to control tickets at the entrance of your event.
- pretixdesk is the corresponding app for desktop computers.
- {% endblocktrans %}
+
+
+
{% trans "Check-in device configuration" %}
+
+
+ {% blocktrans trimmed %}
+ pretixdroid is an Android app that you can use to control tickets at the entrance of your event.
+ pretixdesk is the corresponding app for desktop computers.
+ {% endblocktrans %}
+
+ {% if configs and "create" not in request.GET %}
+
+ {% endif %}
+
{% if not configs or "create" in request.GET %}
-
{% trans "Create app configuration" %}
-
- {% blocktrans trimmed %}
- To start scanning tickets with our apps, first create a configuration code here:
- {% endblocktrans %}
-
-
- {% csrf_token %}
- {% bootstrap_form_errors add_form %}
- {% bootstrap_field add_form.list layout="horizontal" %}
- {% bootstrap_field add_form.all_items layout="horizontal" %}
- {% bootstrap_field add_form.items layout="horizontal" %}
- {% bootstrap_field add_form.show_info layout="horizontal" %}
- {% bootstrap_field add_form.allow_search layout="horizontal" %}
- {% bootstrap_field add_form.app layout="horizontal" %}
-
{% endif %}
{% endblock %}
diff --git a/src/pretix/plugins/pretixdroid/templates/pretixplugins/pretixdroid/configuration_code.html b/src/pretix/plugins/pretixdroid/templates/pretixplugins/pretixdroid/configuration_code.html
index 7438f9489..7608804e2 100644
--- a/src/pretix/plugins/pretixdroid/templates/pretixplugins/pretixdroid/configuration_code.html
+++ b/src/pretix/plugins/pretixdroid/templates/pretixplugins/pretixdroid/configuration_code.html
@@ -5,64 +5,87 @@
{% block title %}{% trans "Device configuration" %}{% endblock %}
{% block content %}
{% if config.app == "pretixdroid" %}
-
- {% trans "1. Download app" %}
-
-
-
+
+
{% trans "1. Download app" %}
+
+
+
+
+
-
-
-
-
- {% blocktrans trimmed %}
- Android, Google Play and the Google Play logo are trademarks of Google Inc.
- {% endblocktrans %}
-
-
-
{% trans "2. Scan code" %}
-
-
-
{% trans "3. Start scanning tickets" %}
-
+
+
+
+
+
+
+
+
+
+
+
{% trans "3. Start scanning tickets" %}
+
+
{% else %}
-
-
{% trans "1. Download pretixdesk" %}
-
-
- {% trans "Open download page" %}
-
-
-
{% trans "2. Connect device" %}
-
-
- {% trans "Connect with pretixdesk" %}
-
-
-
- {% blocktrans trimmed %}
- If this link does not open the pretixdesk application or if you want to set the application up on a
- separate device, copy the following code and paste it into the application:
- {% endblocktrans %}
-
-
-
-
-
{% trans "3. Start scanning tickets" %}
-
+
+
+
{% trans "1. Download pretixdesk" %}
+
+
+
+
+
+
{% trans "2. Connect device" %}
+
+
+
+
+ {% trans "Connect with pretixdesk" %}
+
+
+
+ {% blocktrans trimmed %}
+ If this link does not open the pretixdesk application or if you want to set the application up
+ on a
+ separate device, copy the following code and paste it into the application:
+ {% endblocktrans %}
+
+
+
+
+
+
+
+
+
{% trans "3. Start scanning tickets" %}
+
+
{% endif %}
+
{% endblock %}
diff --git a/src/pretix/plugins/sendmail/templates/pretixplugins/sendmail/history.html b/src/pretix/plugins/sendmail/templates/pretixplugins/sendmail/history.html
index 53accc0c7..b06df6076 100644
--- a/src/pretix/plugins/sendmail/templates/pretixplugins/sendmail/history.html
+++ b/src/pretix/plugins/sendmail/templates/pretixplugins/sendmail/history.html
@@ -3,8 +3,10 @@
{% load bootstrap3 %}
{% block title %}{% trans "Send out emails" %}{% endblock %}
{% block content %}
-
{% trans "Email history" %}
-
+
+
+
{% trans "Email history" %}
+
{% for log in logs %}
@@ -36,6 +38,8 @@
{% endfor %}
+
- {% include "pretixcontrol/pagination.html" %}
{% endblock %}
diff --git a/src/pretix/plugins/sendmail/templates/pretixplugins/sendmail/send_form.html b/src/pretix/plugins/sendmail/templates/pretixplugins/sendmail/send_form.html
index fdfdf2c2e..a5b2cf05a 100644
--- a/src/pretix/plugins/sendmail/templates/pretixplugins/sendmail/send_form.html
+++ b/src/pretix/plugins/sendmail/templates/pretixplugins/sendmail/send_form.html
@@ -3,20 +3,39 @@
{% load bootstrap3 %}
{% block title %}{% trans "Send out emails" %}{% endblock %}
{% block content %}
-
{% trans "Send out emails" %}
- {% block inner %}
-
- {% csrf_token %}
- {% bootstrap_field form.sendto layout='horizontal' %}
- {% if form.subevent %}
- {% bootstrap_field form.subevent layout='horizontal' %}
- {% endif %}
- {% bootstrap_field form.item layout='horizontal' %}
- {% bootstrap_field form.subject layout='horizontal' %}
- {% bootstrap_field form.message layout='horizontal' %}
- {% if request.method == "POST" %}
-
- {% trans "E-mail preview" %}
+
+
+
{% trans "Send out emails" %}
+
+
+ {% block inner %}
+
+ {% csrf_token %}
+ {% bootstrap_field form.sendto layout='horizontal' %}
+ {% if form.subevent %}
+ {% bootstrap_field form.subevent layout='horizontal' %}
+ {% endif %}
+ {% bootstrap_field form.item layout='horizontal' %}
+ {% bootstrap_field form.subject layout='horizontal' %}
+ {% bootstrap_field form.message layout='horizontal' %}
+
+
+ {% trans "Preview email" %}
+
+
+ {% trans "Send" %}
+
+
+
+ {% endblock %}
+
+
+ {% if request.method == "POST" %}
+
+
+ {% trans "E-mail preview" %}
+
+
{% for locale, segments in output.items %}
{% spaceless %}
@@ -26,16 +45,7 @@
{% endspaceless %}
{% endfor %}
-
- {% endif %}
-
-
- {% trans "Preview email" %}
-
-
- {% trans "Send" %}
-
-
- {% endblock %}
+
+ {% endif %}
{% endblock %}
diff --git a/src/pretix/plugins/statistics/templates/pretixplugins/statistics/index.html b/src/pretix/plugins/statistics/templates/pretixplugins/statistics/index.html
index 543572837..ad2303a81 100644
--- a/src/pretix/plugins/statistics/templates/pretixplugins/statistics/index.html
+++ b/src/pretix/plugins/statistics/templates/pretixplugins/statistics/index.html
@@ -5,11 +5,12 @@
{% load escapejson %}
{% block title %}{% trans "Statistics" %}{% endblock %}
{% block content %}
-
{% trans "Statistics" %}
{% if request.event.has_subevents %}
-
- {% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
-
+
+
+ {% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
+
+
{% endif %}
{% if has_orders %}
@@ -29,7 +30,8 @@
{% if request.GET.subevent %}
{% blocktrans trimmed context "subevent" %}
- If you select a single date, payment method fees will not be listed here as it might not be clear which
+ If you select a single date, payment method fees will not be listed here as it might not be
+ clear which
date they belong to.
{% endblocktrans %}
diff --git a/src/pretix/plugins/ticketoutputpdf/templates/pretixplugins/ticketoutputpdf/delete.html b/src/pretix/plugins/ticketoutputpdf/templates/pretixplugins/ticketoutputpdf/delete.html
index 1906c2fc2..6ca6b4bf0 100644
--- a/src/pretix/plugins/ticketoutputpdf/templates/pretixplugins/ticketoutputpdf/delete.html
+++ b/src/pretix/plugins/ticketoutputpdf/templates/pretixplugins/ticketoutputpdf/delete.html
@@ -3,18 +3,25 @@
{% load bootstrap3 %}
{% block title %}{% trans "Ticket layout" %}{% endblock %}
{% block content %}
-
{% trans "Ticket layout" %}
-
- {% csrf_token %}
- {% blocktrans %}Are you sure you want to delete the layout {{ layout }} ?{% endblocktrans %}
-