From 273676ff54daecc9161d21ff86e8c1035de58e04 Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 12 Mar 2023 13:32:42 +0100 Subject: [PATCH] rephrase to 'Abmelden'; allow for cox as well --- templates/index.html.tera | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/templates/index.html.tera b/templates/index.html.tera index 7f3cb21..372960e 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -50,7 +50,14 @@ {% endif %} Abfahrtszeit: {{ day.planned_starting_time }} Uhr -
{{ trips | length }} angemeldete Person{{ trips | length | pluralize(plural="en") }}: {{ cox | length }} Steuerperson{{ cox | length | pluralize(plural="en") }} ({% for c in cox %}{{ c.user.name }} {% endfor %}), {{ rowers | length }} Ruderer:
+
{{ trips | length }} angemeldete Person{{ trips | length | pluralize(plural="en") }}: {{ cox | length }} Steuerperson{{ cox | length | pluralize(plural="en") }} ({% for c in cox %}{{ c.user.name }} {% if c.user.name == user.name %} +
+ + + + +
+ {% endif %} {% endfor %}), {{ rowers | length }} Ruderer:
    {% for r in rowers %} @@ -62,7 +69,7 @@ - + {% endif %}