dont show guests on external boats #487

Merged
philipp merged 2 commits from dont-show-guests-on-external-boats into main 2024-05-12 23:08:49 +02:00
Showing only changes of commit a0d53366e0 - Show all commits

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 }}