{% extends "base.html" %} {% from "fragments/export_menu.html" import export_menu %} {% from "fragments/outline_fallback.html" import outline_fallback %} {% block title %}Voxint — transcript {{ run.id.hex[:8] }}{% endblock %} {# Canonical parent, no origin tracking: transcripts belong to Runs. #} {% block cb_breadcrumb %}runs / {{ run.id.hex[:8] }}{% endblock %} {% block body %}
{{ run.id.hex[:8] }}{{ run.media_item.source_path }}
{{ translation_ctx.note }}
{% endif %} {% if not read and translation_ctx.active %}Machine-translated to {{ translation_ctx.active.label }} {%- if translation_ctx.active.source_language %} from {{ language_label(translation_ctx.active.source_language) }}{% endif %} by {{ translation_ctx.active.model }}, {{ translation_ctx.active.completed_at.strftime("%Y-%m-%d %H:%M") }} — a working rendition, not a certified translation.
{% endif %} {{ export_menu(run, text, translation_ctx.fresh) }} {% if (read and not read_rows) or (not read and not lines) %}No transcript segments for this run.
{% elif read %} {# Shared reading paragraphs: Python decides grouping, clocks and markers; Jinja autoescape keeps hostile transcript text literal. #}{% if row.clock %}{{ row.clock }} {% endif %}{% if row.speaker is not none %}{{ row.speaker }}: {% endif %}{% for run in row.runs %}{% if not loop.first %} {% endif %}{% if run.marker %}{{ run.marker }} {% endif %}{{ run.text }}{% endfor %}
{% endfor %}[{{ "%.2f"|format(ln.start_seconds) }}–{{ "%.2f"|format(ln.end_seconds) }}] {% if uncertain %}uncertain{% endif %} {% if ln.diarization_label %}{{ ln.diarization_label }}{% endif %} {% if ln.speaker != ln.diarization_label %}{{ ln.speaker }}:{% endif %} {{ ln.text }} {% if translation_ctx.active and translation_ctx.active.texts[loop.index0] %} {{ translation_ctx.active.texts[loop.index0] }} {% endif %}
{% endfor %} {% if lines|length > 200 %}{{ lines|length - 200 }} more segments. Enable JavaScript for the full transcript.
{% endif %}