{% extends 'base.html' %} {% load render_bundle from webpack_loader %} {% load static mep_tags %} {% block page-subtitle %}{{ work.title }} Cards · Library Holdings · {% endblock %} {% block js %} {% render_bundle 'activities' 'js' %} {% endblock %} {% block header %} {% include 'snippets/header.html' with title=work.title style="detail" %} {% endblock %} {% block main-style %}tabbed white{% endblock %} {% block content %} {# breadcrumbs & tabs #} {% include 'snippets/breadcrumbs.html' %}
{% if footnotes %}
    {% for footnote in footnotes %}
  1. {% with card=footnote.image member=footnote.content_object.account.persons.first start_date=footnote.content_object.partial_start_date %} {# card thumbnails with member name and event year #} {% with card.image|iiif_image:"size:width=225" as 1xthumbnail %} {% endwith %}
    Card Holder
    {% for cardholder in footnote.content_object.account.persons.all %}
    {{ cardholder.sort_name }}
    {% endfor %}
    Event Date
    {{ footnote.content_object.partial_start_date|partialdate|default:'-' }}
    {% endwith %}
  2. {% endfor %}
{% elif member.card %} {# show bibliographic citation if a member has a card but no images are available #}

{{ member.card.bibliographic_note|urlize }}

{% else %}
No lending library cards available.
{% endif %} {% if member.card.notes %}
{{ member.card.notes|urlize }}
{% endif %} {% if cards.0.manifest %} {% include 'people/snippets/manifest_license.html' with manifest=cards.0.manifest %} {% endif %}
{% endblock %}