sort rowsers by registratoin datetime
This commit is contained in:
parent
9e31652f47
commit
c15360af5b
@ -13,7 +13,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!<br />
|
||||
|
Loading…
Reference in New Issue
Block a user