Update app/components/procedure/notice_component/notice_component.html.haml

Co-authored-by: Colin Darie <colin@darie.eu>
This commit is contained in:
Paul Chavard 2023-07-05 16:42:22 +02:00 committed by Paul Chavard
parent 23685ef5b9
commit 9fd96bc3ba

View file

@ -1,4 +1,4 @@
- if link?
= link_to url, t(".name"), { class: "fr-download__link" }
= link_to url, t(".name"), class: "fr-download__link", title: new_tab_suffix(t(".name")), **external_link_attributes
- elsif attachment?
= render Dsfr::DownloadComponent.new(attachment:, name: t(".name"), ephemeral_link: administrateur_signed_in?)