{%- import "partials/oneliner.html" as ol -%} Doctate — Fall {{ case_id_short }}
← Fälle
{% if is_admin %}{% endif %}

{% call ol::render(oneliner) %} {% if has_failed_recording %}fehler{% else if has_document %}ausgewertet{% else %}offen{% endif %} {% if is_closed %}
{% else %}
{% 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 %}
→ Aufnahmen anzeigen ({{ recordings_count }})