From 281807396db35433cd4f6ec6698e75689fec2b10 Mon Sep 17 00:00:00 2001 From: Ekaterina Vititneva Date: Thu, 10 Oct 2024 08:45:34 +0200 Subject: [PATCH] Listing details to columns --- .../auctions/templates/auctions/listing.html | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/project_2/commerce/auctions/templates/auctions/listing.html b/project_2/commerce/auctions/templates/auctions/listing.html index 99325da..6f57471 100644 --- a/project_2/commerce/auctions/templates/auctions/listing.html +++ b/project_2/commerce/auctions/templates/auctions/listing.html @@ -50,18 +50,25 @@

{{ listing.bid }}€

{% endif %} {% endif %}
-
Category: {{ listing.category }}
-
Listed by {{ listing.created_by }}
-
Last Bid by {{ listing.last_modified_by }}
-
Created time: {{ listing.created_at }}
-
Updated time: {{ listing.updated_at }}
-
- Statuse: {%if listing.active%} - Active - {% else %} - Closed - {% endif %} +
+
+

Category: {{ listing.category }}

+

Listed by: {{ listing.created_by }}

+

Last Bid by: {{ listing.last_modified_by }}

+
+
+

Created time: {{ listing.created_at }}

+

Updated time: {{ listing.updated_at }}

+

Statuse: + {%if listing.active%} + Active + {% else %} + Closed + {% endif %}

+
+
+