From a0d53366e0a147dc8a2aca5145b89d12a2f4cf5f Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 12 May 2024 22:26:02 +0200 Subject: [PATCH 1/2] 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 }} From c3c7ecec981c267311e36a7d03b751a430e30464 Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 12 May 2024 22:38:25 +0200 Subject: [PATCH 2/2] fix ci --- .gitea/workflows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index f1704d2..52c625c 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -25,7 +25,7 @@ jobs: cargo build cd frontend && npm install && npm run build - name: Frontend tests - run: cd frontend && npx playwright test --workers 1 --reporter line + run: cd frontend && npx playwright install && npx playwright test --workers 1 --reporter line - name: Backend tests run: cargo test --verbose #- uses: actions/upload-artifact@v3