From c214036c510f048328f5aa8baccd3850dc6e64ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?=
Date: Mon, 30 May 2016 18:54:40 +0200
Subject: [PATCH] Doing previous orders button a bit more prominent
---
bornhack/static_src/css/bornhack.css | 5 +++++
shop/templates/shop_base.html | 16 ++++++++++++++++
shop/templates/shop_index.html | 15 ++++++---------
3 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/bornhack/static_src/css/bornhack.css b/bornhack/static_src/css/bornhack.css
index d1ed79d3..2943fcfc 100644
--- a/bornhack/static_src/css/bornhack.css
+++ b/bornhack/static_src/css/bornhack.css
@@ -83,6 +83,11 @@ a, a:active, a:focus {
color: rgb(255, 255, 255);
}
+.btn-grey {
+ background-color: #777;
+ color: rgb(255, 255, 255);
+}
+
#map {
height: 500px;
}
diff --git a/shop/templates/shop_base.html b/shop/templates/shop_base.html
index e9116971..bb2a7de3 100644
--- a/shop/templates/shop_base.html
+++ b/shop/templates/shop_base.html
@@ -2,6 +2,22 @@
{% block content %}
+
+
+
+ {% block shop_left_top %}
+ {% endblock %}
+
+
+
+ {% if user.is_authenticated and user.orders.exists %}
+
Previous orders
+ {% endif %}
+
+
+
+
+
{% block shop_content %}
{% endblock %}
diff --git a/shop/templates/shop_index.html b/shop/templates/shop_index.html
index d5053847..894cc038 100644
--- a/shop/templates/shop_index.html
+++ b/shop/templates/shop_index.html
@@ -2,22 +2,19 @@
{% load bootstrap3 %}
{% load shop_tags %}
-{% block shop_content %}
-
-
+ {% endfor %}
+
+{% endblock %}
+{% block shop_content %}