{% for collection in object.collections.all %}
{% endfor %}
{% endif %}
{% if object.source_url %}
{{ object.get_source_link_label }}
{% if object.pages_digital %} {# if page range is defined (excerpt/article), link to first page in range #}
{% if object.source == object.HATHI %}
{{ object.source_id }}
{% elif object.source == object.GALE %}
GALE url
{{ object.source_id }}
{% endif %}
{% else %} {# when there is no page range, use source url #}
{{ object.source_id }}
{% endif %}
{% endif %}
{% if object.public_notes %}
Note on edition
{{ object.public_notes }}
{% endif %}
{% if user.is_authenticated %}
{% if object.notes %}
Curation notes
{{ object.notes }}
{% endif %}
Added
{{ object.added|date:"d M Y" }}
Last Updated
{{ object.updated|date:"d M Y" }}
{% endif %}
{# search within a volume currently only supported for hathi content #}
{% if object.has_fulltext %}
{% include 'archive/snippets/jump_top.html' with anchor='digitized-work' %}
{# display matching pages with highlighted text if there is a search active #}
{% endif %}
{% endblock %}