{% if aktuell_verliehen.exists %}
Mediatheknr. | enthält | Anfang | Ende | Δ | {% if perms.ausleihe.view_leihe %}verliehen von | {% endif %} {% if perms.ausleihe.change_leihe %}zurücknehmen | {% endif %}
---|---|---|---|---|---|---|
{{ leihe.medium }} | {% if leihe.medium.buecher.exists %} {% for buch in leihe.medium.buecher.all %} {% if forloop.last %} 📚 {{ buch }} {% else %} 📚 {{ buch }}, {% endif %} {% endfor %} {% endif %} | {{ leihe.anfang|date:"d.m.Y" }} | {{ leihe.ende|date:"l" }}, {{ leihe.ende|date:"d.m.Y" }} | {% if leihe.ist_ueberfaellig %} {% with leihe.differenz_heute as d %} {{ d }} d überfällig {% endwith %} {% else %} {% with leihe.differenz_heute as d %} noch {{ d }} d {% endwith %} {% endif %} | {% if perms.ausleihe.view_leihe %}{{ leihe.verleiht_von.get_full_name }} ({{ leihe.verleiht_von }}) | {% endif %} {% if perms.ausleihe.change_leihe %}zurücknehmen | {% endif %}
Aktuell nichts entliehen.
{% endif %}