From a5942c7f240686146c243e22d849db97d0a904b9 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 20 Oct 2024 17:36:29 +0100 Subject: tidying up the cart detail page - still nowhere near good enough --- alphabetlearning/templates/payments/cart_detail.html | 2 +- alphabetlearning/templates/payments/cart_lineitem.html | 18 ++++++++++-------- .../templates/payments/cart_sidepanel.html | 14 +++----------- 3 files changed, 14 insertions(+), 20 deletions(-) (limited to 'alphabetlearning/templates/payments') diff --git a/alphabetlearning/templates/payments/cart_detail.html b/alphabetlearning/templates/payments/cart_detail.html index 46117d1..641c9c5 100644 --- a/alphabetlearning/templates/payments/cart_detail.html +++ b/alphabetlearning/templates/payments/cart_detail.html @@ -7,7 +7,7 @@

{% lorem %}

{% if cart %}
-
+
diff --git a/alphabetlearning/templates/payments/cart_lineitem.html b/alphabetlearning/templates/payments/cart_lineitem.html index 0ef8a97..79899df 100644 --- a/alphabetlearning/templates/payments/cart_lineitem.html +++ b/alphabetlearning/templates/payments/cart_lineitem.html @@ -1,17 +1,19 @@
-
- {{ item.resource.name }} +
+

{{ item.resource.name }}

-
- {{ item.resource.card_description }} -
-
+
{% for tn_url in item.resource.thumbnail_urls %} -
- unknown +
+ unknown
{% endfor %}
+
+

{{ item.resource.card_description }}

+

Remove from basket

+
+
diff --git a/alphabetlearning/templates/payments/cart_sidepanel.html b/alphabetlearning/templates/payments/cart_sidepanel.html index b788d24..b844495 100644 --- a/alphabetlearning/templates/payments/cart_sidepanel.html +++ b/alphabetlearning/templates/payments/cart_sidepanel.html @@ -3,16 +3,8 @@
Subtotal:
-
- £{{ cart_total }} 10.24 -
-
-
-
- Shipping and handling: -
-
-

There is nothing to say here

+
+ £{{ total|floatformat:2 }}

@@ -25,7 +17,7 @@
{% csrf_token %} - +
-- cgit v1.2.3