Update app/components/procedure/notice_component/notice_component.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
This commit is contained in:
parent
23685ef5b9
commit
9fd96bc3ba
1 changed files with 1 additions and 1 deletions
|
@ -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?)
|
||||
|
|
Loading…
Reference in a new issue