diff --git a/templates/admin/document/index.html.twig b/templates/admin/document/index.html.twig index 499a125..3393a07 100644 --- a/templates/admin/document/index.html.twig +++ b/templates/admin/document/index.html.twig @@ -21,6 +21,7 @@ Titel + ID Typ Status Versionen @@ -32,13 +33,15 @@ {% for document in documents %} - {{ document.title }} + + {{ document.id }} + {% if document.currentVersion %} diff --git a/templates/admin/system/agent_overview.html.twig b/templates/admin/system/agent_overview.html.twig index b39b6ce..5fd93cb 100644 --- a/templates/admin/system/agent_overview.html.twig +++ b/templates/admin/system/agent_overview.html.twig @@ -96,14 +96,17 @@ chunk_id document_id - text (gekürzt) + Text (gekürzt) {% for item in ndjson.items|default([]) %} {{ item.chunk_id ?? '-' }} - {{ item.document_id ?? '-' }} + + {{ item.document_id ?? '-' }} + {% set text = item.text ?? '' %} {{ text|slice(0, 240) }}{% if text|length > 240 %}…{% endif %}