Merge branch 'show-proper-amount-guests' into 'staging'

show proper amount of guests (changed bc cox is now included in rowers)

See merge request PhilippHofer/rot!78
This commit is contained in:
PhilippHofer 2023-11-04 14:39:43 +00:00
commit 9de2a615a6

View File

@ -181,7 +181,7 @@
{% endif %}
</small>
{% set amount_rowers = log.rowers | length %}
{% set amount_guests = log.boat.amount_seats - amount_rowers -1 %}
{% set amount_guests = log.boat.amount_seats - amount_rowers %}
{% if allowed_to_close and state == "on_water" %}
{{ log::home(log=log, only_ones=only_ones) }}
{% else %}