{# Desk live feed + review queue (poll target, swapped every 1500ms). #} {% from "_macros.html" import cover_url %} {% if pairing.revoked_at %}

Unpaired.

{% else %} {% if pairing.claimed_at %}
Paired · {{ pairing.mode }} · {{ pairing.count }} scans {% if pairing.borrower %} · {{ pairing.borrower.library_card_number }}{% endif %}
{# Hide the now-dead single-use QR once claimed (out-of-band). #}
{% else %}

Waiting for phone to pair…

{% endif %} {% if pending %}

⚑ Needs review ({{ pending|length }})

{% for p in pending %}
{% if p.cover_url %} {% else %}{% endif %}
{{ p.title }}
{{ p.isbn }}
{% endfor %}
{% endif %}

Live activity

{% for e in events %}
{{ e.message }}
{% else %}

Waiting for scans…

{% endfor %}
{% endif %}