+
{{ day.day| date(format="%d.%m.%Y") }}
{% for planned_event in day.planned_events %}
Planned event '{{ planned_event.name }}'
@@ -32,7 +32,7 @@
{% for cox in planned_event.cox %}
{{ cox }}
{% if cox == loggedin_user.name %}
-
ABMELDEN
+
Abmelden
{% endif %}
{% endfor %}
@@ -41,12 +41,12 @@
{% for rower in planned_event.rower%}
{{ rower.name }} (angemeldet seit {{ rower.registered_at }})
{% if rower.name == loggedin_user.name %}
-
ABMELDEN
+
Abmelden
{% endif %}
{% endfor %}
{% if planned_event.max_people > planned_event.rower | length %}
-
MITRUDERN
+
Mitrudern
{% endif %}
@@ -62,19 +62,23 @@
{% if day.trips | length > 0 %}
{% for trip in day.trips %}
-
-
-
{{ trip.planned_starting_time }} Uhr ({{ trip.cox_name }})
-
Details
+
+
+
+
{{ trip.planned_starting_time }} Uhr ({{ trip.cox_name }})
+
Details
+
+
+ {% for rower in trip.rower %}
+ {% if rower.name == loggedin_user.name %}
+
Abmelden
+ {% endif %}
+ {% endfor %}
+ {% if trip.max_people > trip.rower | length and trip.cox_id != loggedin_user.id %}
+
Mitrudern
+ {% endif %}
+
- {% if trip.max_people > trip.rower | length and trip.cox_id != loggedin_user.id %}
-
MITRUDERN
- {% endif %}
- {% for rower in trip.rower %}
- {% if rower.name == loggedin_user.name %}
-
ABMELDEN
- {% endif %}
- {% endfor %}
-
{{ trip.max_people }} Ruderer können sich für diese Ausfahrt anmelden
+
{{ trip.max_people }} Ruderer können teilnehmen
{% if trip.rower | length > 0 %}
@@ -108,8 +112,9 @@
{% endif %}
- {% if loggedin_user.is_admin %}
-
Event hinzufügen
+
{% endfor %}