From 1ff603faba5c99a7942c514b38f1219cd58c7a4f Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 21 Jul 2022 13:48:04 +0100 Subject: [PATCH] Reformat product list template --- core/templates/partials/product-list.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/templates/partials/product-list.html b/core/templates/partials/product-list.html index 0598416..861f297 100644 --- a/core/templates/partials/product-list.html +++ b/core/templates/partials/product-list.html @@ -2,23 +2,23 @@ {% for plan in plans %} -{% if plan not in user_plans %} - -{% endif %} + {% if plan not in user_plans %} + + {% endif %}
Data image

{{ plan.description }}

£{{ plan.cost }}
{% if plan in user_plans %} -
(purchased)
+
(purchased)
{% endif %}
-{% if plan not in user_plans %} -
-{% endif %} + {% if plan not in user_plans %} + + {% endif %} {% endfor %}