Update links

This commit is contained in:
Kumi 2019-02-02 12:20:09 +00:00
parent a3679d4f99
commit fb7faddd15

View file

@ -40,13 +40,16 @@
<ul class="navbar-nav ml-auto"> <ul class="navbar-nav ml-auto">
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="/devices">Devices</a> <a class="nav-link" href="/devices/">Devices</a>
</li> </li>
{% if user.is_superuser %} <li class="nav-item">
<li class="nav-item"> <a class="nav-link" href="/wifi/">WiFi</a>
<a class="nav-link" href="/admin">Backend</a> </li>
</li> {% if user.is_staff %}
{% endif %} <li class="nav-item">
<a class="nav-link" href="/users/">Users</a>
</li>
{% endif %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="/accounts/logout">Logout</a> <a class="nav-link" href="/accounts/logout">Logout</a>
</li> </li>