Merge pull request #444 from eReuse/feature/4319-add-columns-list-documents-device

Feature/4319 add columns list documents device
This commit is contained in:
cayop 2023-04-18 11:44:39 +02:00 committed by GitHub
commit 9e7a1ec5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -214,6 +214,8 @@
<thead> <thead>
<tr> <tr>
<th scope="col">File</th> <th scope="col">File</th>
<th scope="col">Type</th>
<th scope="col">Description</th>
<th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">Uploaded on</th> <th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">Uploaded on</th>
<th></th> <th></th>
<th></th> <th></th>
@ -229,6 +231,14 @@
{{ doc.file_name}} {{ doc.file_name}}
{% endif %} {% endif %}
</td> </td>
<td>
{{ doc.type }}
</td>
<td>
{% if doc.description %}
{{ doc.description|truncate(30, True) }}
{% endif %}
</td>
<td> <td>
{{ doc.created.strftime('%Y-%m-%d %H:%M') }} {{ doc.created.strftime('%Y-%m-%d %H:%M') }}
</td> </td>