bornhack-website/shop/templates/shop_base.html

31 lines
850 B
HTML
Raw Normal View History

2016-05-19 09:19:51 +00:00
{% extends 'base.html' %}
{% block content %}
<div class="row">
2016-05-30 17:58:58 +00:00
<div class="col-md-12">
2016-05-30 18:56:03 +00:00
<ol class="breadcrumb">
<li><a href="{% url 'shop:index' %}">Shop</a></li>
{% if product %}
<li><a href="{% url 'shop:index' %}?category={{product.category.slug}}">{{ product.category }}</a></li>
<li class="active">{{ product.name }}</li>
{% elif current_category %}
<li class="active">{{ current_category }}</li>
{% endif %}
{% if user.is_authenticated and user.orders.exists %}
2016-05-30 22:58:11 +00:00
{% if has_tickets %}
<li class="pull-right"><a href="{% url 'shop:ticket_list' %}">Tickets</a></li>
{% endif %}
<li class="pull-right no-before"><a href="{% url 'shop:order_list' %}">Orders</a></li>
{% endif %}
2016-05-30 18:56:03 +00:00
</ol>
</div>
</div>
2016-05-19 09:19:51 +00:00
{% block shop_content %}
2016-05-30 18:56:03 +00:00
2016-05-19 09:19:51 +00:00
{% endblock %}
{% endblock %}