From 4d53bdcae5ad8e72277d8613eaf5314d3d6c2574 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Thu, 14 Mar 2024 10:37:05 +0100 Subject: [PATCH] chore: remove download link of pdf form of closed procedure --- app/views/users/_procedure_footer.html.haml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/users/_procedure_footer.html.haml b/app/views/users/_procedure_footer.html.haml index bc970c13c..409f0369b 100644 --- a/app/views/users/_procedure_footer.html.haml +++ b/app/views/users/_procedure_footer.html.haml @@ -59,10 +59,11 @@ .fr-col-12.fr-col-sm-4.fr-col-md-4 - %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.dematerialisation.header') - .fr-download - %p - = link_to I18n.t('users.procedure_footer.dematerialisation.title_1'), commencer_dossier_vide_for_revision_path(procedure.active_revision), class: 'fr-footer__top-link fr-download__link' + - unless procedure.close? + %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.dematerialisation.header') + .fr-download + %p + = link_to I18n.t('users.procedure_footer.dematerialisation.title_1'), commencer_dossier_vide_for_revision_path(procedure.active_revision), class: 'fr-footer__top-link fr-download__link' %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.support.header') .fr-footer__brand.fr-enlarge-link = link_to t("users.procedure_footer.dematerialisation.link"), title: t("users.procedure_footer.dematerialisation.alt"), class: "fr-footer__brand-link" do