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

29 lines
832 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>
{% if has_tickets %}
<a href="{% url 'shop:ticket_list' %}" class="btn btn-black">
Tickets
</a>
{% endif %}
{% 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>