diff --git a/templates/index.html.tera b/templates/index.html.tera index fe7cd27..c3b8c0f 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -18,7 +18,7 @@ {% 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) %} + {% 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!