feat: mark a library document for a specific purpose

This commit is contained in:
fromme committed 2026-09-24 16:35:24 +02:00
1 parent cb2d64f2cd
commit 19364df2db
8 files changed
+249 -6

No files matched your search

@@ -14,6 +14,9 @@
<th>
{{ knp_pagination_sortable(pagination, 'Dateiname', 'upload.originalFilename') }}
</th>
<th>
Verwendung
</th>
<th>
Dateigröße
</th>
@@ -32,6 +35,11 @@
<td>
{{ document.displayName ? document.displayName : document.originalFilename }}
</td>
<td>
{# A slot belongs to exactly one document, so this is what tells staff
which file a feature actually picks up. #}
{{ document.token ? document.token.label() : '-' }}
</td>
<td>
{{ document.size|file_size }}
</td>
@@ -71,7 +79,7 @@
</tr>
{% else %}
<tr>
<td colspan="5">
<td colspan="6">
Keine Daten...
</td>
</tr>