Updated asset list

This commit is contained in:
Harry Bridge
2019-01-05 19:59:05 +00:00
parent 502a2c4e0e
commit 9f3c1f7f3c
2 changed files with 40 additions and 16 deletions

View File

@@ -0,0 +1,13 @@
{% for item in object_list %}
{# <li><a href="{% url 'asset_detail' item.pk %}">{{ item.asset_id }} - {{ item.description }}</a></li>#}
<tr>
<td><a href="{% url 'asset_detail' item.pk %}">{{ item.asset_id }}</a></td>
<td>{{ item.description }}</td>
<td>{{ item.category }}</td>
<td>{{ item.status }}</td>
<td>
<a href="{% url 'asset_detail' item.pk %}"><i class="material-icons">visibility</i></a>
<a href="{% url 'asset_update' item.pk %}"><i class="material-icons">edit</i></a>
</td>
</tr>
{% endfor %}