move creditnote link to the end

This commit is contained in:
Thomas Steen Rasmussen 2016-06-19 22:04:37 +02:00
parent 11cb0d453f
commit 8712ac4669

View file

@ -13,13 +13,13 @@
<li class="active">{{ current_category }}</li> <li class="active">{{ current_category }}</li>
{% endif %} {% endif %}
{% if user.is_authenticated and user.orders.exists %} {% if user.is_authenticated and user.orders.exists %}
{% if user.creditnotes.exists %}
<li class="pull-right"><a href="{% url 'shop:creditnote_list' %}">Credit Notes</a></li>
{% endif %}
{% if has_tickets %} {% if has_tickets %}
<li class="pull-right"><a href="{% url 'shop:ticket_list' %}">Tickets</a></li> <li class="pull-right"><a href="{% url 'shop:ticket_list' %}">Tickets</a></li>
{% endif %} {% endif %}
<li class="pull-right no-before"><a href="{% url 'shop:order_list' %}">Orders</a></li> <li class="pull-right no-before"><a href="{% url 'shop:order_list' %}">Orders</a></li>
{% if user.creditnotes.exists %}
<li class="pull-right"><a href="{% url 'shop:creditnote_list' %}">Credit Notes</a></li>
{% endif %}
{% endif %} {% endif %}
</ol> </ol>
</div> </div>