diff --git a/templates/index.html.tera b/templates/index.html.tera index ad9ba52..6747cd9 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -77,7 +77,8 @@
{% if planned_event.planned_amount_cox > 0 %} -
{{ planned_event.planned_amount_cox }} - {{ planned_event.cox | length }} Steuerleute werden benötigt ({{ planned_event.planned_amount_cox }})
+ {% set amount_cur_cox = planned_event.cox | length %} +
{{ planned_event.planned_amount_cox - amount_cur_cox }} Steuerleute werden benötigt ({{ planned_event.planned_amount_cox }})
{% if planned_event.cox | length > 0 %} {% for cox in planned_event.cox %}