demarches-normaliennes/app/components/dsfr/download_component/download_component.html.haml

15 lines
515 B
Text
Raw Normal View History

.fr-download
%p
= link_to url, {class: "fr-download__link", title: title}.merge(new_tab ? { target: '_blank' } : { download: '' }) do
= name
%span.fr-download__detail
= helpers.download_details(attachment)
- if ephemeral_link
%span.fr-ml-2w.fr-text--xs.fr-text-mention--grey
%span.fr-icon-questionnaire-line{ "aria-hidden": "true" }
= t('.ephemeral_link')
2023-06-05 17:37:52 +02:00
- if virus_not_analyzed
.fr-text--xs.fr-text-mention--grey
= t('.virus_not_analyzed')