From 950e105ca64d89a91f653851f5ff73b98ab1a53f Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Thu, 1 Feb 2018 15:09:32 +0100 Subject: [PATCH] Change a number in the numbers panel --- app/views/root/landing.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/root/landing.html.haml b/app/views/root/landing.html.haml index 6552107bd..c0103e2c7 100644 --- a/app/views/root/landing.html.haml +++ b/app/views/root/landing.html.haml @@ -70,11 +70,11 @@ %ul.numbers %li.number .number-value - = number_with_delimiter(Procedure.publiees_ou_archivees.count, :locale => :fr) + = number_with_delimiter(Procedure.includes(:administrateur).publiees_ou_archivees.map(&:administrateur).uniq.count, :locale => :fr) .number-label< - procédures + administrations %br<> - dématérialisées + partenaires %li.number .number-value = number_with_delimiter(Dossier.where.not(:state => :brouillon).count, :locale => :fr)