optimize code and ingest docs
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user