{% import "includes/macros" as macros %} {% import "includes/forms/log" as log %} {% extends "base" %} {% block content %}

Logbuch

Neue Ausfahrt

{{ log::new(shipmaster=loggedin_user.id) }}

Am Wasser

{% if on_water | length > 0 %} {% for log in on_water %} {% if log.shipmaster == loggedin_user.id %} {{ log::show(log=log, state="on_water", allowed_to_close=true, only_ones="cox" not in loggedin_user.roles) }} {% elif "Vorstand" in loggedin_user.roles %} {{ log::show(log=log, state="on_water", allowed_to_close=true, only_ones="cox" not in loggedin_user.roles) }} {% else %} {{ log::show(log=log, state="on_water", only_ones=true) }} {% endif %} {% endfor %} {% else %}

Kein Boot am Wasser

{% endif %}
{{ macros::boatreservation() }}
{% if loggedin_user %}{% endif %} {% endblock content %}