add new table values in admin docs and jobs

This commit is contained in:
team 1
2026-02-16 17:23:31 +01:00
parent a6435f4ee3
commit bad2c02da1
2 changed files with 9 additions and 3 deletions

View File

@@ -21,6 +21,7 @@
<thead>
<tr>
<th>Titel</th>
<th>ID</th>
<th>Typ</th>
<th>Status</th>
<th>Versionen</th>
@@ -32,13 +33,15 @@
<tbody>
{% for document in documents %}
<tr>
<td>
<a href="{{ path('admin_document_show', {id: document.id}) }}"
class="text-decoration-none text-light">
{{ document.title }}
</a>
</td>
<td>
{{ document.id }}
</td>
<td>
{% if document.currentVersion %}
<span class="badge bg-secondary">

View File

@@ -96,14 +96,17 @@
<tr>
<th style="width:220px;">chunk_id</th>
<th style="width:180px;">document_id</th>
<th>text (gekürzt)</th>
<th>Text (gekürzt)</th>
</tr>
</thead>
<tbody>
{% for item in ndjson.items|default([]) %}
<tr>
<td>{{ item.chunk_id ?? '-' }}</td>
<td>{{ item.document_id ?? '-' }}</td>
<td> <a href="{{ path('admin_document_show', {id: item.document_id}) }}"
class="text-decoration-none text-light">
{{ item.document_id ?? '-' }}
</a></td>
<td>
{% set text = item.text ?? '' %}
{{ text|slice(0, 240) }}{% if text|length > 240 %}{% endif %}