diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index 976e82f..ce37b42 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -135,14 +135,13 @@ {% endif %} {% for rower in log.rowers %} -

{{ rower.name }} {% if rower.id == log.shipmaster %}Schiffsführer {% endif %}{% if rower.id == log.steering_person%}Steuerperson{% endif %}

- {# @MB: shipmaster + steering_person could be prettier :') #} +

{{ rower.name }} {% if rower.id == log.shipmaster or rower.id == log.steering_person %}({% if rower.id == log.shipmaster %}Schiffsführer{% endif %}{% if rower.id == log.shipmaster and rower.id == log.steering_person %}/{% endif %}{% if rower.id == log.steering_person%}Steuerperson{% endif %}){% endif %}

{% endfor %} {% set amount_rowers = log.rowers | length %} {% set amount_guests = log.boat.amount_seats - amount_rowers -1 %} {% if amount_guests > 0 %} - Gäste (ohne Account): + Gäste (ohne Account): {{ amount_guests }} {% endif %} @@ -203,7 +202,7 @@ {{ rower.name }}{% if not loop.last or amount_guests > 0 %}, {% endif %} {% endfor %} {% if amount_guests > 0 %} - Gäste (ohne Account): {{ amount_guests }} + Gäste (ohne Account): {{ amount_guests }} {% endif %} {% endif %}