allow non admins to see the warranties table

I reckon the customer would be interested in the warranties of his
devices as well.
This commit is contained in:
Andreas Zweili 2020-03-01 11:14:38 +01:00
parent 9f30375f6b
commit df31124143
1 changed files with 0 additions and 2 deletions

View File

@ -10,9 +10,7 @@
<body>
<div class="container">
<a href="{% url 'customers' %}">Home</a> |
{% if request.user.is_superuser %}
<a href="{% url 'warranties' %}">Warranties</a> |
{% endif %}
{% if request.user.is_superuser %}
<a href="{% url 'all_computers' %}">All Computers</a> |
{% endif %}