feat(dossier): show lien_notice when available

This commit is contained in:
Paul Chavard 2023-06-16 16:21:10 +01:00
parent d92a38a80b
commit 7ade521582
7 changed files with 40 additions and 14 deletions

View file

@ -77,6 +77,5 @@
#accordion-117.fr-collapse
= t('shared.procedure_description.estimated_fill_duration_detail', estimated_minutes: estimated_fill_duration_minutes(procedure))
- if procedure.notice.attached?
.fr-my-3w
= render Dsfr::DownloadComponent.new(attachment: procedure.notice , url: notice_url(procedure), name: t("views.shared.dossiers.edit.notice"), ephemeral_link: administrateur_signed_in?)
.fr-my-3w
= render Procedure::NoticeComponent.new(procedure:)