{% extends "base.html" %} {% from "_partials/empty_state.html" import empty_state %} {% block title %}My Loans — {{ library_name() }}{% endblock %} {% block content %}

My Loans

{% if not loans %} {{ empty_state("No active loans", "When you check out items they will appear here.", cta_href="/ui/catalog", cta_label="Browse catalog") }} {% else %} {% for loan in loans %} {% endfor %}
BarcodeTitleDueAction
{{ loan.item.barcode }} {{ loan.item.work.title }} {{ loan.due_at.strftime("%Y-%m-%d") if loan.due_at else "—" }}
{% if has_permission(user, 'loan.claim.self') %}
{% endif %}
{% endif %} {% endblock %}