style: download links (notice & template) with expected DSFR design & details

Closes #7829
This commit is contained in:
Colin Darie 2022-10-04 13:17:25 +02:00
parent 1e9d5b753c
commit 5a50383a27
7 changed files with 25 additions and 14 deletions

View file

@ -2,10 +2,12 @@
- if template&.attached?
%p.mb-1
Veuillez télécharger, remplir et joindre
= link_to('le modèle suivant', url_for(template), target: '_blank', rel: 'noopener')
= link_to(url_for(template), download: true, class: "fr-link fr-link--icon-right fr-icon-download-line mr-2") do
le modèle suivant
- if helpers.administrateur_signed_in?
%em.fr-text-mention--grey.fr-text--xs.visible-on-previous-hover
%span.ml-2.fr-text--xs.fr-text-mention--grey.visible-on-previous-hover
%span.fr-text-action-high--blue-france.fr-icon-questionnaire-line{ "aria-hidden": "true" }
= t('shared.ephemeral_link')
- if persisted?