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

Logbuch {% if loggedin_user and "admin" in loggedin_user.roles %} {% endif %}

{% for log in logs %} {% set_global allowed_to_edit = false %} {% if loggedin_user %} {% if "Vorstand" in loggedin_user.roles %} {% set_global allowed_to_edit = true %} {% endif %} {% endif %} {{ log::show_old(log=log, state="completed", only_ones=false, index=loop.index, allowed_to_edit=allowed_to_edit) }} {% endfor %}
{% endblock content %}