diff --git a/src/pretix/presale/templates/pretixpresale/organizers/index.html b/src/pretix/presale/templates/pretixpresale/organizers/index.html index 33f9381ff..4a7bb8224 100644 --- a/src/pretix/presale/templates/pretixpresale/organizers/index.html +++ b/src/pretix/presale/templates/pretixpresale/organizers/index.html @@ -30,24 +30,24 @@ - {% if events %} -
-
-

- - {% if "old" in request.GET %} - {% trans "Past events" %} - {% else %} - {% trans "Upcoming events" %} - {% endif %} - -

-
- {% if filter_form.fields %} -
- {% include "pretixpresale/fragment_event_list_filter.html" with request=request %} -
- {% endif %} +
+
+

+ + {% if "old" in request.GET %} + {% trans "Past events" %} + {% else %} + {% trans "Upcoming events" %} + {% endif %} + +

+
+ {% if filter_form.fields %} +
+ {% include "pretixpresale/fragment_event_list_filter.html" with request=request %} +
+ {% endif %} + {% if events %}
{% for e in events %}{% eventurl e "presale:event.index" as url %} @@ -99,12 +99,15 @@ {% endfor %}
+
+ {% endif %} +
+ {% if "old" in request.GET %} +

{% if not events %}{% trans "No archived events found." %} {% endif %}{% trans "Show upcoming" %}

+ {% else %} +

{% if not events %}{% trans "No public upcoming events found." %} {% endif %}{% trans "Show past events" %}

+ {% endif %}
- {% endif %} - {% if "old" in request.GET %} -

{% if not events %}{% trans "No archived events found." %} {% endif %}{% trans "Show upcoming" %}

- {% else %} -

{% if not events %}{% trans "No public upcoming events found." %} {% endif %}{% trans "Show past events" %}

- {% endif %} +
{% include "pretixpresale/pagination.html" %} {% endblock %} diff --git a/src/pretix/static/pretixpresale/scss/_event.scss b/src/pretix/static/pretixpresale/scss/_event.scss index 71d2cb779..3b901caed 100644 --- a/src/pretix/static/pretixpresale/scss/_event.scss +++ b/src/pretix/static/pretixpresale/scss/_event.scss @@ -145,6 +145,11 @@ article.item-with-variations .product-row:last-child:after { margin-bottom: 0; } +.panel > hr { + margin: 0; + border-top: 1px solid $table-border-color; +} + .product-row { padding: 1.25*$line-height-computed 0; diff --git a/src/pretix/static/pretixpresale/scss/main.scss b/src/pretix/static/pretixpresale/scss/main.scss index 7c49aa708..7d33e96c5 100644 --- a/src/pretix/static/pretixpresale/scss/main.scss +++ b/src/pretix/static/pretixpresale/scss/main.scss @@ -413,7 +413,6 @@ details.details-open .panel-title::before { } .panel-subhead { - margin-bottom: 15px; padding: 15px; background: $table-bg-accent; border-bottom: 1px solid $table-border-color;