diff --git a/templates/events/details.html b/templates/events/details.html index af0c3a19c..371bd504c 100644 --- a/templates/events/details.html +++ b/templates/events/details.html @@ -98,13 +98,23 @@

{% endif %}
-
Påmeldingsstart
-
+ {% if attendance_event.registration_start > now %} +
Påmeldingsstart
- {{ attendance_event.registration_start|date:"H.i" }} - {{ attendance_event.registration_start|date:"d. M Y" }} +
+ {{ attendance_event.registration_start|date:"H.i" }} + {{ attendance_event.registration_start|date:"d. M Y" }} +
-
+ {% else %} +
Påmeldingsslutt
+
+
+ {{ attendance_event.registration_end|date:"H.i" }} + {{ attendance_event.registration_end|date:"d. M Y" }} +
+
+ {% endif %}