add pdf reader modul
This commit is contained in:
@@ -21,20 +21,33 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Titel</th>
|
||||
<th>Typ</th>
|
||||
<th>Status</th>
|
||||
<th>Versionen</th>
|
||||
<th>Aktive Version</th>
|
||||
<th>Erstellt am</th>
|
||||
<th>Aktionen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for document in documents %}
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
<a href="{{ path('admin_document_show', {id: document.id}) }}" class="text-decoration-none text-light">
|
||||
<a href="{{ path('admin_document_show', {id: document.id}) }}"
|
||||
class="text-decoration-none text-light">
|
||||
{{ document.title }}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{% if document.currentVersion %}
|
||||
<span class="badge bg-secondary">
|
||||
{{ document.currentVersion.fileTypeLabel }}
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="badge bg-dark">-</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if document.status == 'ACTIVE' %}
|
||||
<span class="badge bg-success">Aktiv</span>
|
||||
@@ -51,6 +64,12 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ document.createdAt|date('d.m.Y H:i') }}</td>
|
||||
<td>
|
||||
<a class="btn btn-sm btn-outline-light" href="{{ path('admin_document_show', {id: document.id}) }}"
|
||||
class="text-decoration-none text-light">
|
||||
Ansehen
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user