bornhack-website/src/profiles/templates/profile_base_buttons.html

27 lines
794 B
HTML
Raw Normal View History

2017-04-13 15:44:46 +00:00
<a href="{% url 'profiles:detail' %}" class="btn btn-black">
Profile
</a>
<a href="{% url 'account_change_password' %}" class="btn btn-black">
Password
2017-04-13 15:44:46 +00:00
</a>
<a href="{% url 'account_email' %}" class="btn btn-black">
Manage emails
</a>
{% if user.is_authenticated and user.orders.exists %}
<a href="{% url 'shop:order_list' %}" class="btn btn-black">
Orders
</a>
<a href="{% url 'tickets:shopticket_list' %}" class="btn btn-black">
2017-04-13 15:44:46 +00:00
Tickets
</a>
{% if user.creditnotes.exists %}
<a href="{% url 'shop:creditnote_list' %}" class="btn btn-black">
Credit Notes
</a>
{% endif %}
{% endif %}
<a href="{% url 'account_logout' %}" class="btn btn-black">
Logout
</a>