fix(pj_template): private proxy template url so their links are non expirable
Closes #7920
This commit is contained in:
parent
6f5cd5a2ad
commit
b9d6397a9b
8 changed files with 52 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
= render Dsfr::DownloadComponent.new(attachment: attachment, name: "Modèle à télécharger") do |c|
|
||||
= render Dsfr::DownloadComponent.new(attachment: champ.type_de_champ.piece_justificative_template, url: champs_piece_justificative_template_path(champ), name: "Modèle à télécharger") do |c|
|
||||
- if administrateur_signed_in?
|
||||
- c.with_right do
|
||||
%span.fr-ml-2w.fr-text--xs.fr-text-mention--grey.visible-on-previous-hover
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue