{#- Shared 5-state oneliner renderer. Emits the inline content only (no
prefix/suffix), so callers can wrap it in their own context — a
" — " separator in the case list, an
span on the case page. -#}
{% macro render(ol) -%}
{% match ol -%}
{% when OnelinerDisplay::Ready with (t) %}{{ t }}
{%- when OnelinerDisplay::Empty %}unbenannt
{%- when OnelinerDisplay::Error %}Fehler
{%- when OnelinerDisplay::Pending %}transkribiere …
{%- when OnelinerDisplay::Generating %}generiere Titel …
{%- endmatch %}
{%- endmacro %}