From 8a44e6a03cb0cdfacc4c1fecffcc503235d2f2de Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 22 Feb 2023 11:19:24 +0100 Subject: [PATCH] =?UTF-8?q?correctif(a11y):=20#8179,=20quand=20la=20messag?= =?UTF-8?q?erie=20est=20desactiv=C3=A9e.=20supprime=20les=20br=20et=20util?= =?UTF-8?q?ise=20le=20nouveau=20mode=20de=20rendu=20pour=20afficher=20les?= =?UTF-8?q?=20horaires=20saisies=20par=20l'administration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dossiers/messages/_messagerie_disabled.html.haml | 8 ++++---- app/views/users/_procedure_footer.html.haml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/shared/dossiers/messages/_messagerie_disabled.html.haml b/app/views/shared/dossiers/messages/_messagerie_disabled.html.haml index d840ecda6..73ec38500 100644 --- a/app/views/shared/dossiers/messages/_messagerie_disabled.html.haml +++ b/app/views/shared/dossiers/messages/_messagerie_disabled.html.haml @@ -6,11 +6,11 @@ Pour poser une question sur ce dossier, contactez : %p = service.nom - %br + %p = service.organisme - %br - - horaires = "Horaires : #{formatted_horaires(service.horaires)}" - = simple_format(horaires) + + - if service.horaires.present? + = render SimpleFormatComponent.new("Horaires : #{formatted_horaires(service.horaires)}") %p = mail_to service.email, service.email, diff --git a/app/views/users/_procedure_footer.html.haml b/app/views/users/_procedure_footer.html.haml index 6f6f4a89f..03c5166f8 100644 --- a/app/views/users/_procedure_footer.html.haml +++ b/app/views/users/_procedure_footer.html.haml @@ -19,9 +19,9 @@ = link_to service.telephone_url, class: 'fr-footer__top-link' do %p = I18n.t('users.procedure_footer.contact.phone.link', service_telephone: service.telephone) - - if service.horaires.present? - %p - = horaires + - if service.horaires.present? + %p + = horaires %li = link_to I18n.t('users.procedure_footer.contact.stats.link'), statistiques_path(procedure.path), class: 'fr-footer__top-link', rel: 'noopener'