mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-22 16:18:03 +01:00
Reorder navbar links
This commit is contained in:
parent
4cd55984aa
commit
53620a279a
1 changed files with 5 additions and 5 deletions
|
@ -6,16 +6,16 @@
|
||||||
</button>
|
</button>
|
||||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
||||||
{% if perms.purchase.view_basket %}
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="{% url "purchase:list" %}" class="nav-link">Baskets</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
{% if perms.purchase.add_basket %}
|
{% if perms.purchase.add_basket %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{% url "purchase:new" %}" class="nav-link">New basket</a>
|
<a href="{% url "purchase:new" %}" class="nav-link">New basket</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if perms.purchase.view_basket %}
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="{% url "purchase:list" %}" class="nav-link">Baskets</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% if user.is_staff %}
|
{% if user.is_staff %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{% url "admin:index" %}">Admin</a>
|
<a class="nav-link" href="{% url "admin:index" %}">Admin</a>
|
||||||
|
|
Loading…
Reference in a new issue