{% extends "base.html" %} {% from "_macros.html" import status_pill, media_pill, cover_url, loan_pill %} {% block title %}{{ work.title }} — {{ library_name() }}{% endblock %} {% block content %}
{{ work.subtitle }}
{% endif %} {% if work.creators %} {% endif %}{{ work.description }}
{% endif %} {% if work.extra_metadata and work.extra_metadata.get('tagline') %}{{ work.extra_metadata['tagline'] }}
{% endif %} {% if work.extra_metadata and work.extra_metadata.get('cast') %}{{ work.extra_metadata['cast'] | join(", ") }}
{% endif %} {% if work.extra_metadata and work.extra_metadata.get('tracks') %}| Barcode | Branch | Status | Call # |
|---|---|---|---|
{{ item.barcode }} |
{{ item.branch.name }} |
{{ status_pill(item.status) }}
{{ loan_pill(item) }}
{% if item.status == "checked_out" and item_due.get(item.id) %}
due {{ item_due[item.id].strftime("%Y-%m-%d") }} {% endif %} |
{{ item.call_number or "—" }} |
No copies on record.
{% endif %}No loanable copies of this work are available — holds are disabled.
{% else %} {% if patron %}Reserve this work
Your account has no patron record — contact a librarian to place holds.
{% else %}Log in to place a hold.
{% endif %} {% if has_permission(user, 'hold.place.any') %}| # | Patron | Placed | Status | Suspended |
|---|---|---|---|---|
| {{ loop.index }} |
{{ h.patron.full_name }}
{{ h.patron.library_card_number }}
|
{{ h.placed_at.strftime("%Y-%m-%d") }} | {{ status_pill(h.status) }} | {% if h.suspended_until %}Until {{ h.suspended_until.isoformat() }}{% else %}—{% endif %} |
No active holds.
{% endif %} {% endif %} {% if work.external_ids and work.external_ids.get('tmdb') %}Film data provided by TMDb. This product uses the TMDB API but is not endorsed or certified by TMDB.
{% endif %} {% endblock %} {% block scripts %} {% if has_permission(user, 'hold.place.any') %} {% include "_partials/scanner_scripts.html" %} {% endif %} {% endblock %}