Merge pull request 'dont-show-guests-on-external-boats' (#486) from dont-show-guests-on-external-boats into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m57s
CI/CD Pipeline / deploy-staging (push) Successful in 6m13s
CI/CD Pipeline / deploy-main (push) Has been skipped

Reviewed-on: #486
This commit is contained in:
2024-05-12 23:08:41 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -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
<small class="text-gray-600">(ohne Account)</small>:
{{ amount_guests }}