{% extends 'base.html' %} {% load static humanize markdownify %} {% block page-subtitle %}{{ work.title }} · Library Holdings · {% 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' %} {# bibliographic details #}
{% for creator in work.creator_set.all %} {% ifchanged %}
{{ creator.creator_type.name }}
{% endifchanged %}
{{ creator.person.name }}
{% endfor %} {% if work.year %}
Publication Date
{{ work.year }}
{% endif %} {# format #} {% if work.work_format %}
Format
{{ work.work_format }}
{% endif %} {% if work.public_notes %}
Notes
{{ work.public_notes|markdownify }}
{% endif %}
{# link to read online #} {% if work.ebook_url %} {% endif %}
Circulation
{{ work.event_count }} event{{ work.event_count|pluralize }}
{{ work.event_years|as_ranges|default:'-' }}
{% endblock %}