forked from CGM_Public/pretix_original
Compare commits
3 Commits
actions-de
...
waitlist_s
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f8e6a2a4b | ||
|
|
c084b91ab3 | ||
|
|
8baaa0a8c6 |
@@ -29,7 +29,7 @@
|
|||||||
{% if request.event.has_subevents %}
|
{% if request.event.has_subevents %}
|
||||||
<form class="form-inline helper-display-inline" action="" method="get">
|
<form class="form-inline helper-display-inline" action="" method="get">
|
||||||
<form class="form-inline helper-display-inline" action="" method="get">
|
<form class="form-inline helper-display-inline" action="" method="get">
|
||||||
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
|
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" with auto_submit=True %}
|
||||||
</form>
|
</form>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
<p>
|
<p>
|
||||||
<select name="subevent" class="form-control simple-subevent-choice" data-model-select2="event"
|
<select name="subevent" class="form-control{% if auto_submit %} simple-subevent-choice{% endif %}" data-model-select2="event"
|
||||||
data-select2-url="{% url "control:event.subevents.select2" organizer=request.event.organizer.slug event=request.event.slug %}"
|
data-select2-url="{% url "control:event.subevents.select2" organizer=request.event.organizer.slug event=request.event.slug %}"
|
||||||
data-placeholder="{% trans "All dates" context "subevent" %}">
|
data-placeholder="{% trans "All dates" context "subevent" %}">
|
||||||
{% for se in selected_subevents %}
|
{% for se in selected_subevents %}
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
|
|
||||||
{% if request.event.has_subevents %}
|
{% if request.event.has_subevents %}
|
||||||
<form class="form-inline helper-display-inline" action="" method="get">
|
<form class="form-inline helper-display-inline" action="" method="get">
|
||||||
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
|
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" with auto_submit=True %}
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not request.event.has_subevents or subevent %}
|
{% if not request.event.has_subevents or subevent %}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
</p>
|
</p>
|
||||||
{% if request.event.has_subevents %}
|
{% if request.event.has_subevents %}
|
||||||
<form class="form-inline helper-display-inline" action="" method="get">
|
<form class="form-inline helper-display-inline" action="" method="get">
|
||||||
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
|
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" with auto_submit=True %}
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if quotas|length == 0 %}
|
{% if quotas|length == 0 %}
|
||||||
|
|||||||
@@ -48,15 +48,9 @@
|
|||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if request.event.has_subevents %}
|
{% if request.event.has_subevents %}
|
||||||
<select name="subevent" class="form-control">
|
<div class="col-md-6">
|
||||||
<option value="">{% trans "All dates" context "subevent" %}</option>
|
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
|
||||||
{% for se in request.event.subevents.all %}
|
</div>
|
||||||
<option value="{{ se.id }}"
|
|
||||||
{% if request.GET.subevent|add:0 == se.id %}selected="selected"{% endif %}>
|
|
||||||
{{ se.name }} – {{ se.get_date_range_display }}
|
|
||||||
</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button class="btn btn-large btn-primary" type="submit">
|
<button class="btn btn-large btn-primary" type="submit">
|
||||||
{% trans "Send as many vouchers as possible" %}
|
{% trans "Send as many vouchers as possible" %}
|
||||||
@@ -80,8 +74,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<form class="row filter-form" action="" method="get">
|
||||||
<form class="form-inline helper-display-inline" action="" method="get">
|
<div class="col-lg-2 col-md-3 col-xs-6">
|
||||||
<select name="status" class="form-control">
|
<select name="status" class="form-control">
|
||||||
<option value="a"
|
<option value="a"
|
||||||
{% if request.GET.status == "p" %}selected="selected"{% endif %}>{% trans "All entries" %}</option>
|
{% if request.GET.status == "p" %}selected="selected"{% endif %}>{% trans "All entries" %}</option>
|
||||||
@@ -100,6 +94,8 @@
|
|||||||
{% if request.GET.status == "e" %}selected="selected"{% endif %}>
|
{% if request.GET.status == "e" %}selected="selected"{% endif %}>
|
||||||
{% trans "Voucher expired" %}</option>
|
{% trans "Voucher expired" %}</option>
|
||||||
</select>
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-2 col-md-3 col-xs-6">
|
||||||
<select name="item" class="form-control">
|
<select name="item" class="form-control">
|
||||||
<option value="">{% trans "All products" %}</option>
|
<option value="">{% trans "All products" %}</option>
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
@@ -109,23 +105,19 @@
|
|||||||
</option>
|
</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
|
</div>
|
||||||
{% if request.event.has_subevents %}
|
{% if request.event.has_subevents %}
|
||||||
<select name="subevent" class="form-control">
|
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
|
||||||
<option value="">{% trans "All dates" context "subevent" %}</option>
|
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
|
||||||
{% for se in request.event.subevents.all %}
|
</div>
|
||||||
<option value="{{ se.id }}"
|
|
||||||
{% if request.GET.subevent|add:0 == se.id %}selected="selected"{% endif %}>
|
|
||||||
{{ se.name }} – {{ se.get_date_range_display }}
|
|
||||||
</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button class="btn btn-primary" type="submit">{% trans "Filter" %}</button>
|
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
|
||||||
|
<button class="btn btn-primary" type="submit"><span class="fa fa-filter"></span> {% trans "Filter" %}</button>
|
||||||
<a href="?{% url_replace request "download" "yes" %}"
|
<a href="?{% url_replace request "download" "yes" %}"
|
||||||
class="btn btn-default"><i class="fa fa-download"></i>
|
class="btn btn-default"><i class="fa fa-download"></i>
|
||||||
{% trans "Download list" %}</a>
|
{% trans "Download list" %}</a>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</p>
|
|
||||||
<form method="post" action="?next={{ request.get_full_path|urlencode }}">
|
<form method="post" action="?next={{ request.get_full_path|urlencode }}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
@@ -166,7 +158,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
{% if request.event.has_subevents %}
|
{% if request.event.has_subevents %}
|
||||||
<td>{{ e.subevent.name }} – {{ e.subevent.get_date_range_display }}</td>
|
<td>{{ e.subevent.name }} – {{ e.subevent.get_date_range_display }} {{ e.subevent.date_from|date:"TIME_FORMAT" }}</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td>
|
<td>
|
||||||
{{ e.created|date:"SHORT_DATETIME_FORMAT" }}
|
{{ e.created|date:"SHORT_DATETIME_FORMAT" }}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<h1>{% trans "Statistics" %}</h1>
|
<h1>{% trans "Statistics" %}</h1>
|
||||||
{% if request.event.has_subevents %}
|
{% if request.event.has_subevents %}
|
||||||
<form class="form-inline helper-display-inline" action="" method="get">
|
<form class="form-inline helper-display-inline" action="" method="get">
|
||||||
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
|
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" with auto_submit=True %}
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if has_orders %}
|
{% if has_orders %}
|
||||||
|
|||||||
Reference in New Issue
Block a user