{% extends "base.html" %} {% block topbar %}

{{ t.name }}

{{ t.language }}{% if t.header.date and t.header.date.text %} · {{ t.header.date.text }}{% endif %} {% endblock %} {% block content %}
{% set h = t.header %} {% set s = t.summary %}
{{ t.language }} TEI

{{ h.title or t.file }}

{% if h.description %}

{{ h.description }}

{% endif %} {% set doc = h.document if h.document and h.document not in (h.title or "") else "" %} {% if doc or h.work %}
{{ doc }}{% if doc and h.work %} · {% endif %}{{ h.work }}
{% endif %}
{{ "{:,}".format(s.verses) }}verses{% if t.range %}
{{ t.range }}{% endif %}
{% if s.folios %}
{{ s.folios | length }}{{ s.unit or "folio" }}s{% if s.folios %}
{{ s.folios[0] }}{% if s.folios|length > 1 %} … {{ s.folios[-1] }}{% endif %}{% endif %}
{% endif %}
{{ "{:,}".format(s.words) }}words
{{ s.corrections }}corrections
{{ s.lacunae }}lacunae
{{ "{:,}".format(s.unclear) }}unclear
{{ "{:,}".format(s.supplied) }}supplied
{% if s.nomina_sacra %}
{{ s.nomina_sacra }}nomina sacra
{% endif %}
{% set shelfmarks = h.shelfmarks or ([h.shelfmark] if h.shelfmark else []) %} {% if shelfmarks %}
Shelfmark{{ "s" if shelfmarks|length > 1 }}
{% for m in shelfmarks %}{{ [m.settlement, m.repository, m.idno] | select | join(", ") }}{% if not loop.last %}
{% endif %}{% endfor %}
{% endif %} {% if h.date %}
Date
{{ h.date.text or h.date.when or [h.date.not_before, h.date.not_after] | select | join("–") }}
{% endif %} {% if h.identifiers %}
Identifiers
{% for i in h.identifiers %}{{ i.label }} {% if i.url %}{{ i.value }}{% else %}{{ i.value }}{% endif %}{% endfor %}
{% endif %} {% for r in h.responsibility %}
{{ r.resp }}
{{ r.names | join(", ") }}
{% endfor %} {% if h.funders %}
Funded by
{{ h.funders | join(", ") }}
{% endif %} {% if h.sponsors %}
Sponsor
{{ h.sponsors | join(", ") }}
{% endif %} {% if h.edition %}
Edition
{{ h.edition }}
{% endif %} {% if h.source %}
Based on
{{ h.source | join("; ") }}
{% endif %} {% if h.authority %}
Authority
{{ h.authority }}
{% endif %} {% if h.publishers %}
Published by
{{ h.publishers | join(", ") }}{% if h.published %} · {{ h.published }}{% endif %}
{% endif %}
Transcription licence
{% if t.licence_text %}{{ t.licence_text | urlize(target="_blank") }}{% elif t.licence %}{% if t.licence.url %}{{ t.licence.name }}{% else %}{{ t.licence.name }}{% endif %}{% else %}Not stated{% endif %}
{% if t.parsing_licence %}
Parsing licence
{% if t.parsing_licence.url %}{{ t.parsing_licence.name }}{% else %}{{ t.parsing_licence.name }}{% endif %}
{% endif %}
{% if h.project or h.editorial %}
Project and editorial notes {% for p in h.project + h.editorial %}

{{ p | urlize(target="_blank") }}

{% endfor %}
{% endif %} {% if h.revisions %}
Revision history ({{ h.revisions | length }})
    {% for r in h.revisions %}
  • {% if r.when %}{{ r.when }} {% endif %}{{ r.text }}
  • {% endfor %}
{% endif %}

Alignments

{% for a in alignments %}
{{ a.title }} {{ a.category }}
{% else %}
Not in any alignment yet.
{% endfor %}
{% endblock %}