optimize code and ingest docs

This commit is contained in:
team 1
2026-02-17 14:12:24 +01:00
parent f528a1c395
commit 812f2bf265
11 changed files with 156 additions and 282 deletions

View File

@@ -24,6 +24,7 @@
<th>ID</th>
<th>Typ</th>
<th>Status</th>
<th>Indexiert</th>
<th>Versionen</th>
<th>Aktive Version</th>
<th>Erstellt am</th>
@@ -58,6 +59,13 @@
<span class="badge bg-secondary">Archiviert</span>
{% endif %}
</td>
<td>
{% if document.currentVersion.ingestStatus == 'INDEXED' %}
<span class="badge bg-success">{{ document.currentVersion.ingestStatus }}</span>
{% else %}
<span class="badge bg-danger">{{ document.currentVersion.ingestStatus }}</span>
{% endif %}
</td>
<td>{{ document.versions|length }}</td>
<td>
{% if document.currentVersion %}