diff --git a/lemarche/templates/tenders/_list_item_detail_row.html b/lemarche/templates/tenders/_list_item_detail_row.html new file mode 100644 index 000000000..248da605f --- /dev/null +++ b/lemarche/templates/tenders/_list_item_detail_row.html @@ -0,0 +1,28 @@ +{% load get_verbose_name %} + +
+ {% 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.accept_share_amount %} +
+ + {{ tender.get_amount_display|default:"-" }} +
+ {% endif %} +
diff --git a/lemarche/templates/tenders/_list_item_network.html b/lemarche/templates/tenders/_list_item_network.html index 540f12f29..147904f8b 100644 --- a/lemarche/templates/tenders/_list_item_network.html +++ b/lemarche/templates/tenders/_list_item_network.html @@ -1,54 +1,34 @@ -{% load static humanize get_verbose_name %} +{% load static humanize %}