{% match oneliner %}
{% when Some with (t) %}{{ t }}
{% when None %}Fall
{% endmatch %}
{% if has_document %}ausgewertet{% else %}offen{% endif %}
{% match recorded_at_iso %}
{% when Some with (iso) %}
{% when None %}
{% endmatch %}
{% if is_admin %}{{ case_id }}
{% endif %}
{% if can_analyze && !has_document %}
{% else if llm_missing && !has_document %}
LLM-Analyse nicht konfiguriert
{% endif %}
{% if is_admin %}
{% endif %}
{% match document_html %}
{% when Some with (html) %}
{% if can_analyze %}
{% endif %}
{{ html|safe }}
{% when None %}
{% if analyzing %}
Wird analysiert …
{% else if recordings_count == 0 %}
Noch keine Aufnahmen vorhanden.
{% else %}
{{ recordings_count }} Aufnahme{% if recordings_count != 1 %}n{% endif %}, davon {{ transcribed_count }} transkribiert.
{% endif %}
{% endmatch %}