From 62d25223002adb51a453983cdeea5806d8285078 Mon Sep 17 00:00:00 2001 From: krichtof Date: Fri, 27 Oct 2023 17:27:50 +0200 Subject: [PATCH] display departement name filter, not only code Co-authored-by: Paul Chavard --- app/views/administrateurs/procedures/all.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/administrateurs/procedures/all.html.haml b/app/views/administrateurs/procedures/all.html.haml index 3bbe3a331..0484ce14e 100644 --- a/app/views/administrateurs/procedures/all.html.haml +++ b/app/views/administrateurs/procedures/all.html.haml @@ -27,7 +27,7 @@ = link_to @filter.service_siret, all_admin_procedures_path(@filter.without(:service_siret)), class: 'fr-tag fr-tag--dismiss fr-mb-1w' - if @filter.service_departement .selected-query.fr-mb-2w - = link_to @filter.service_departement, all_admin_procedures_path(@filter.without(:service_departement)), class: 'fr-tag fr-tag--dismiss fr-mb-1w' + = link_to "#{@filter.service_departement} – #{APIGeoService.departement_name(@filter.service_departement)}", all_admin_procedures_path(@filter.without(:service_departement)), class: 'fr-tag fr-tag--dismiss fr-mb-1w' - if @filter.selected_zones.present? .selected-zones.fr-mb-2w - @filter.selected_zones.each do |zone|