diff --git a/lemarche/templates/tenders/_list_item_buyer.html b/lemarche/templates/tenders/_list_item_buyer.html index 0bc2fdce5..b1edb8fb5 100644 --- a/lemarche/templates/tenders/_list_item_buyer.html +++ b/lemarche/templates/tenders/_list_item_buyer.html @@ -5,10 +5,7 @@
- Date de clôture : {{ tender.deadline_date|default:"" }}
- {% if tender.deadline_date_is_outdated_annotated %}
- Clôturé
- {% endif %}
+ {% include "tenders/_closed_badge.html" with tender=tender %}
{% if tender.is_draft %}
Brouillon
diff --git a/lemarche/templates/tenders/_list_item_network.html b/lemarche/templates/tenders/_list_item_network.html
index 91b3dc27b..6ff762b38 100644
--- a/lemarche/templates/tenders/_list_item_network.html
+++ b/lemarche/templates/tenders/_list_item_network.html
@@ -7,17 +7,7 @@
- Date de clôture : {{ tender.deadline_date|default:"" }}
- {% if tender.deadline_date_is_outdated_annotated %}
- Clôturé
- {% endif %}
-
- {% if tender.kind == "PROJ" %}
- {{ title_kind_sourcing_siae|default:tender.get_kind_display }}
- {% else %}
- {{ tender.get_kind_display }}
- {% endif %}
-
+ {% include "tenders/_closed_badge.html" with tender=tender %}