diff --git a/app/eventyay/control/templates/pretixcontrol/dashboard.html b/app/eventyay/control/templates/pretixcontrol/dashboard.html index bc96aebd5b..0000ed4864 100644 --- a/app/eventyay/control/templates/pretixcontrol/dashboard.html +++ b/app/eventyay/control/templates/pretixcontrol/dashboard.html @@ -12,7 +12,7 @@

{% trans "Tickets dashboard" %}

class="event-dropdown dropdown-menu"> -

{% trans "Your upcoming events" %}

+ + + +

{% trans "Your upcoming events" %}

+
+ {% if can_create_event %} +
+ +
+ + {% trans "Create a new event" %} +
+
+
+ {% endif %} + + {% if upcoming %} + {% for w in upcoming %} +
+
+ {% if w.lazy %} + + {% else %} + {{ w.content|safe }} + {% endif %} +
+
+ {% endfor %} + {% else %} +
+ {% trans "You don’t have any upcoming events yet." %} +
+ {% endif %} +
{% if upcoming %}

@@ -108,4 +141,4 @@

{% trans "Other features" %}

{% endfor %} {% endif %} -{% endblock %} +{% endblock %} \ No newline at end of file