{% extends 'base.html' %} {% load static i18n corpus_extras %} {% block meta_title %}{{ page_title }}{% endblock meta_title %} {% block meta_description %}{{ page_description }}{% endblock meta_description %} {% block main %}

{{ page_title }}

{% include "corpus/snippets/document_header.html" %} {% include "corpus/snippets/document_tabs.html" %}
    {% regroup document.footnotes.all by source as source_list %} {% for source in source_list %} {% spaceless %}
  1. {# Translators: accessibility label for a footnote source citation in scholarship records view #} {% translate 'Bibliographic citation' %}
    {{ source.grouper.formatted_display|safe }}
    {# Translators: label for included document relations for a single footnote #} {% translate "includes" as includes_text %} {% if source.list|length > 1 or source.list.0.location or source.list.0.url %} {# Translators: label for document relations in list of footnotes #} {% blocktranslate with relation=source.list.0.doc_relation|lower trimmed %} for {{ relation }} see {% endblocktranslate%} {% else %} {# Translators: label for document relations for one footnote with no location or URL #} {% blocktranslate with relation=source.list.0.doc_relation|lower trimmed %} includes {{ relation }} {% endblocktranslate%} {% endif %}
    {% if source.list|length > 1 or source.list.0.location or source.list.0.url %}
      {% for fn in source.list %}
    • {% include "corpus/snippets/footnote_location.html" %}
    • {% endfor %}
    {% endif %}
  2. {% endspaceless %} {% endfor %}
{% endblock main %}