From 0158bf29bd7d48a2effb7a51d7525b2e85336054 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Wed, 11 Oct 2023 11:30:34 +0200 Subject: [PATCH] Same for tender display for Siae & Network --- .../templates/tenders/_list_item_network.html | 20 ++++++++++------ .../templates/tenders/_list_item_siae.html | 24 +++++++++++-------- 2 files changed, 27 insertions(+), 17 deletions(-) diff --git a/lemarche/templates/tenders/_list_item_network.html b/lemarche/templates/tenders/_list_item_network.html index 91f3555c0..540f12f29 100644 --- a/lemarche/templates/tenders/_list_item_network.html +++ b/lemarche/templates/tenders/_list_item_network.html @@ -23,19 +23,25 @@

{{ tender.title }}


+ {% if tender.contact_company_name_display %} +
+ + {{ tender.contact_company_name_display }} +
+ {% endif %} +
+ {% if tender.perimeters_list_string %} + + {{ tender.location_display|safe }} + {% endif %} +
{% if tender.sectors.count %} {{ tender.sectors_list_string|safe }} {% endif %}
-
- {% if tender.perimeters_list_string %} - - {{ tender.location_display|safe }} - {% endif %} -
-
+
{% if tender.amount %} {{ tender.get_amount_display|default:"-" }} diff --git a/lemarche/templates/tenders/_list_item_siae.html b/lemarche/templates/tenders/_list_item_siae.html index 6047bbd9b..705755c35 100644 --- a/lemarche/templates/tenders/_list_item_siae.html +++ b/lemarche/templates/tenders/_list_item_siae.html @@ -23,26 +23,30 @@
- -

{{ tender.title }}

-
+

{{ tender.title }}


+ {% if tender.contact_company_name_display %} +
+ + {{ tender.contact_company_name_display }} +
+ {% endif %} +
+ {% if tender.perimeters_list_string %} + + {{ tender.location_display|safe }} + {% endif %} +
{% if tender.sectors.count %} {{ tender.sectors_list_string|safe }} {% endif %}
-
- {% if tender.perimeters_list_string %} - - {{ tender.location_display|safe }} - {% endif %} -
-
+
{% if tender.amount %} {{ tender.get_amount_display|default:"-" }}