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:
parent
9f30375f6b
commit
df31124143
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue