From b6b8223e5a5b57a9e7d8fd25903e8daaec307f17 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Tue, 10 Oct 2023 15:48:18 +0200 Subject: [PATCH] =?UTF-8?q?[Structure]=20Afficher=20le=20nombre=20d'=C3=A9?= =?UTF-8?q?tablissement=20dans=20la=20fiche=20(#941)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Siae detail: display etablissement count if multiple * Add link with search by SIREN --- lemarche/templates/siaes/_card_detail.html | 2 +- ..._useful_infos_siae.html => _useful_infos.html} | 15 +++++++++++---- lemarche/www/siaes/forms.py | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) rename lemarche/templates/siaes/{_useful_infos_siae.html => _useful_infos.html} (82%) diff --git a/lemarche/templates/siaes/_card_detail.html b/lemarche/templates/siaes/_card_detail.html index 8a3a02c81..ad27a9b79 100644 --- a/lemarche/templates/siaes/_card_detail.html +++ b/lemarche/templates/siaes/_card_detail.html @@ -71,6 +71,6 @@

- {% include "siaes/_useful_infos_siae.html" with siae=siae %} + {% include "siaes/_useful_infos.html" with siae=siae %}
diff --git a/lemarche/templates/siaes/_useful_infos_siae.html b/lemarche/templates/siaes/_useful_infos.html similarity index 82% rename from lemarche/templates/siaes/_useful_infos_siae.html rename to lemarche/templates/siaes/_useful_infos.html index f3b6f8a58..71e6a1760 100644 --- a/lemarche/templates/siaes/_useful_infos_siae.html +++ b/lemarche/templates/siaes/_useful_infos.html @@ -1,4 +1,4 @@ -{% load array_choices_display %} +{% load get_verbose_name array_choices_display %}