add new columns
This commit is contained in:
parent
2e0173b7dc
commit
b6b8c6a1f9
|
@ -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>
|
||||||
|
@ -230,8 +232,14 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ doc.created.strftime('%Y-%m-%d %H:%M')}}
|
{{ doc.type }}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{{ doc.description|truncate(30, True) }}
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
{{ doc.created.strftime('%Y-%m-%d %H:%M') }}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ url_for('inventory.device_document_edit', dhid=doc.device.dhid, doc_id=doc.id) }}" title="Edit document">
|
<a href="{{ url_for('inventory.device_document_edit', dhid=doc.device.dhid, doc_id=doc.id) }}" title="Edit document">
|
||||||
<i class="bi bi-pencil-square"></i>
|
<i class="bi bi-pencil-square"></i>
|
||||||
|
|
Reference in New Issue