{% extends "base.html" %} {% from "fragments/export_menu.html" import export_menu %} {% block title %}Voxint — transcript {{ run.id.hex[:8] }}{% endblock %} {% block body %}

← run

Transcript {{ run.id.hex[:8] }}

{{ run.media_item.source_path }}

{{ export_menu(run) }} {% if not lines %}

No transcript segments for this run.

{% else %} {# Island mount point (issue #48): the transcript-player island renders the audio-synced view over this fallback once hydrated. The server-rendered loop below is fully functional with JS disabled, htmx off, or the asset route misconfigured — the same "degrades to plain HTML" guarantee the rest of the console has. Islands are leaf nodes htmx does not swap. #}
{% for ln in lines %} {% set idx = palette.get(ln.diarization_label) %}

[{{ "%.2f"|format(ln.start_seconds) }}–{{ "%.2f"|format(ln.end_seconds) }}] {% if ln.diarization_label %}{{ ln.diarization_label }}{% endif %} {% if ln.speaker != ln.diarization_label %}{{ ln.speaker }}:{% endif %} {{ ln.text }}

{% endfor %}
{% endif %} {% endblock %}