2022-11-09 12:33:20 +01:00
|
|
|
.fr-download
|
|
|
|
%p
|
2022-12-05 15:59:50 +01:00
|
|
|
= link_to url, {class: "fr-download__link", title: title}.merge(new_tab ? { target: '_blank' } : { download: '' }) do
|
2024-04-08 10:13:05 +02:00
|
|
|
= truncate ? name.truncate(20) : name
|
2022-11-09 12:33:20 +01:00
|
|
|
%span.fr-download__detail
|
|
|
|
= helpers.download_details(attachment)
|
2023-06-05 14:25:51 +02:00
|
|
|
- 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')
|
2022-11-09 12:33:20 +01:00
|
|
|
|
2023-06-05 17:37:52 +02:00
|
|
|
- if virus_not_analyzed
|
2023-06-05 14:25:51 +02:00
|
|
|
.fr-text--xs.fr-text-mention--grey
|
|
|
|
= t('.virus_not_analyzed')
|