diff --git a/lemarche/templates/tenders/_closed_badge.html b/lemarche/templates/tenders/_closed_badge.html index 2db05dd24..58fccf4ca 100644 --- a/lemarche/templates/tenders/_closed_badge.html +++ b/lemarche/templates/tenders/_closed_badge.html @@ -1,4 +1,20 @@ - - {{ tender_kind_display|default:tender.get_kind_display }} clôturé{% if tender.kind == "QUOTE" %}e{% endif %} - le {{ tender.deadline_date|default:"" }} - \ No newline at end of file +
+ {% if tender.deadline_date_is_outdated_annotated %} + + {{ tender_kind_display|default:tender.get_kind_display }} clôturé{% if tender.kind == "QUOTE" %}e{% endif %} + le {{ tender.deadline_date|default:"" }} + + {% else %} + + {% if tender.kind == "PROJ" %} + {{ title_kind_sourcing_siae|default:tender.get_kind_display }} + {% else %} + {{ tender.get_kind_display }} + {% endif %} + + Disponible jusqu'au : {{ tender.deadline_date|default:"" }} + {% if is_new_for_siaes %} + Nouveau + {% endif %} + {% endif %} +
diff --git a/lemarche/templates/tenders/_detail_card.html b/lemarche/templates/tenders/_detail_card.html index 265e05876..86fa4dc07 100644 --- a/lemarche/templates/tenders/_detail_card.html +++ b/lemarche/templates/tenders/_detail_card.html @@ -2,7 +2,7 @@- {% if tender.deadline_date_is_outdated_annotated %} - Clôturé le {{ tender.deadline_date|default:"" }} - {% else %} - - {% if tender.kind == "PROJ" %} - {{ title_kind_sourcing_siae|default:tender.get_kind_display }} - {% else %} - {{ tender.get_kind_display }} - {% endif %} - - Disponible jusqu'au : {{ tender.deadline_date|default:"" }} - - {% endif %} -
+