bornhack-website/shop/templates/shop_base.html

33 lines
949 B
HTML

{% extends 'base.html' %}
{% block content %}
<div class="row">
<div class="col-md-12">
<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 %}
<li class="pull-right"><a href="{% url 'shop:order_list' %}">Previous orders</a></li>
{% endif %}
</ol>
</div>
</div>
{% block shop_content %}
{% endblock %}
{% endblock %}
{% block footer %}
<a href="{% url 'shop:privacy-policy' %}">Privacy Policy</a> |
<a href="{% url 'shop:return-policy' %}">Return Policy</a> |
<a href="{% url 'shop:general-terms' %}">General Terms & Conditions</a>
{% endblock %}