diff --git a/templates/index.html.tera b/templates/index.html.tera
index c3b8c0f..7f3cb21 100644
--- a/templates/index.html.tera
+++ b/templates/index.html.tera
@@ -14,61 +14,6 @@
{{ day.day | date(format="%d.%m.%Y")}}
- {% if day.planned_amount_cox > 0%}
-
- {% set cox = trips | filter(attribute="user.is_cox", value=true) %}
- {% set amount_cox = cox | length %}
- {% set rowers = trips | filter(attribute="user.is_cox", value=false) | sort(attribute="trip.created") %}
- {% if amount_cox < day.planned_amount_cox %}
- {% set cox_left = day.planned_amount_cox - amount_cox %}
- Es {{ cox_left | pluralize(singular="wird", plural="werden")}} noch {{ cox_left }} Steuerperson{{ cox_left | pluralize(plural="en")}} gesucht!
- {% endif %}
- Geplante Abfahrtszeit: {{ day.planned_starting_time }}
-
- {{ 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:
-
-
- {% for r in rowers %}
- -
- {{ r.user.name }} (angemeldet seit {{ r.trip.created | date(format="%d.%m. %H:%M", timezone="Europe/Vienna") }})
- {% if r.user.name == user.name %}
-
- {% endif %}
-
- {% endfor %}
-
-
- {% if day.open_registration or user.is_cox %}
-
- +
-
-
- {% else %}
- Anmeldung an diesem Tag leider nicht möglich (zB bei USI Kursen)
- {% endif %}
- {% else %}
- (Noch) keine Ausfahrt geplant
- {% endif %}
-
{% if user.is_admin %}
✎
@@ -98,7 +43,7 @@
{% endif %}
{% if day.planned_amount_cox > 0%}
- {% set rowers = trips | filter(attribute="user.is_cox", value=false) %}
+ {% set rowers = trips | filter(attribute="user.is_cox", value=false) | sort(attribute="trip.created") %}
{% if cox_needed %}
{% set cox_left = day.planned_amount_cox - amount_cox %}
Es {{ cox_left | pluralize(singular="wird", plural="werden")}} noch {{ cox_left }} Steuerperson{{ cox_left | pluralize(plural="en")}} gesucht!