bornhack-website/shop/templates/shop_base.html

25 lines
599 B
HTML

{% extends 'base.html' %}
{% block content %}
<div class="row">
<div class="col-md-12">
<div class="pull-right">
{% if user.is_authenticated and user.orders.exists %}
<a href="{% url 'shop:order_list' %}" class="btn btn-grey">Previous orders</a>
{% endif %}
</div>
</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 %}