From 0f1c1302a9dff0a354d69809fcf41e587a1ab2f1 Mon Sep 17 00:00:00 2001 From: Benoit Queyron Date: Fri, 7 Jun 2024 12:32:55 +0200 Subject: [PATCH] =?UTF-8?q?on=20affiche=20uniquement=20si=20JDMA=20activ?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/dossiers/_merci.html.haml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/users/dossiers/_merci.html.haml b/app/views/users/dossiers/_merci.html.haml index 9081ee58a..955f7fdf8 100644 --- a/app/views/users/dossiers/_merci.html.haml +++ b/app/views/users/dossiers/_merci.html.haml @@ -22,9 +22,9 @@ = link_to t('views.users.dossiers.merci.acces_dossier'), dossier ? dossier_path(dossier) : "#dossier" , class: 'fr-btn fr-btn--xl fr-mt-5w' = link_to t('views.users.dossiers.merci.submit_dossier'), commencer_url(procedure.path), class: 'fr-btn fr-btn--secondary fr-mt-3w fr-mb-2w' - .monavis - %p.fr-mt-5w.fr-mb-1w - %strong= t('views.users.dossiers.merci.jdma_l1') - %p= t('views.users.dossiers.merci.jdma_l2') - - != procedure.monavis_embed.gsub('nd_source=button', 'nd_source=site') + - if procedure.monavis_embed + .monavis + %p.fr-mt-5w.fr-mb-1w + %strong= t('views.users.dossiers.merci.jdma_l1') + %p= t('views.users.dossiers.merci.jdma_l2') + != procedure.monavis_embed.gsub('nd_source=button', 'nd_source=site')