extend the home index page

This commit is contained in:
Andreas Zweili 2019-07-25 20:35:05 +02:00
parent 368eb670e2
commit 33ef653602
1 changed files with 6 additions and 2 deletions

View File

@ -4,11 +4,15 @@
{% if customer_list %}
<table class="sortable">
<tr>
<th>Customer</th>
<th>Name</th>
<th>Computers</th>
<th>Devices</th>
</tr>
{% for customer in customer_list %}
<tr>
<td><a href="{% url 'lists' customer.id %}">{{ customer.name }}</a></td>
<td><a href="{% url 'customer' customer.id %}">{{ customer.name }}</a></td>
<td><a href="{% url 'computers' customer.id %}">Computers</a></td>
<td><a href="{% url 'devices' customer.id %}">Devices</a></td>
</tr>
{% endfor %}
</table>