add new table values in admin docs and jobs
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user