From a0d53366e0a147dc8a2aca5145b89d12a2f4cf5f Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 12 May 2024 22:26:02 +0200 Subject: [PATCH] dont show guests on external boats --- templates/includes/forms/log.html.tera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index f805e32..9bd1c57 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -152,7 +152,7 @@ {% endfor %} {% set amount_rowers = log.rowers | length %} {% set amount_guests = log.boat.amount_seats - amount_rowers %} - {% if amount_guests > 0 %} + {% if amount_guests > 0 and not log.boat.external %} Gäste (ohne Account): {{ amount_guests }}