fix(demarche): legacy notice linking

This commit is contained in:
Colin Darie 2023-07-11 10:48:01 +02:00
parent 07432503a7
commit f812e0b084
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

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