Merge pull request #9297 from colinux/fix-legacy-procedure-notice-link

ETQ usager, corrige l'affichage des liens de notices des vieilles démarches
This commit is contained in:
Colin Darie 2023-07-11 09:08:36 +00:00 committed by GitHub
commit 45a5dfe14d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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?)