diff --git a/shop/templates/shop_base.html b/shop/templates/shop_base.html index bb2a7de3..9147b008 100644 --- a/shop/templates/shop_base.html +++ b/shop/templates/shop_base.html @@ -2,13 +2,8 @@ {% block content %} -
-
- {% block shop_left_top %} - {% endblock %} -
-
+
{% if user.is_authenticated and user.orders.exists %} Previous orders @@ -17,7 +12,6 @@
- {% block shop_content %} {% endblock %} diff --git a/shop/templates/shop_index.html b/shop/templates/shop_index.html index 894cc038..bc8676f2 100644 --- a/shop/templates/shop_index.html +++ b/shop/templates/shop_index.html @@ -2,19 +2,21 @@ {% load bootstrap3 %} {% load shop_tags %} -{% block shop_left_top %} -

- Categories: - {% for category in categories %} - - {{category}} -   - {% endfor %} -

-{% endblock %} - {% block shop_content %} +
+
+

+ Categories:
+ {% for category in categories %} + + {{category}} +   + {% endfor %} +

+
+
+