Uniform title with link content

This commit is contained in:
Corinne Durrmeyer 2024-08-07 16:13:54 +02:00
parent 019b1e389f
commit acdd259e1d
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
4 changed files with 4 additions and 6 deletions

View file

@ -10,7 +10,6 @@ module ConservationDeDonneesHelper
def conservation_dans_ds(procedure) def conservation_dans_ds(procedure)
if procedure.duree_conservation_dossiers_dans_ds.present? if procedure.duree_conservation_dossiers_dans_ds.present?
I18n.t('users.procedure_footer.legals.data_retention', I18n.t('users.procedure_footer.legals.data_retention',
application_name: Current.application_name,
duree_conservation_dossiers_dans_ds: procedure.duree_conservation_dossiers_dans_ds) duree_conservation_dossiers_dans_ds: procedure.duree_conservation_dossiers_dans_ds)
end end
end end

View file

@ -13,7 +13,7 @@
%ul.fr-footer__top-list %ul.fr-footer__top-list
- politiques.each do |politique| - politiques.each do |politique|
%li %li
= link_to t("users.procedure_footer.legals.data_retention_url"), class: "fr-footer__top-link", title: new_tab_suffix(t("users.procedure_footer.legals.data_retention_title")), **external_link_attributes do = link_to t("users.procedure_footer.legals.data_retention_url"), class: "fr-footer__top-link", title: new_tab_suffix(t("users.procedure_footer.legals.data_retention_title", data_retention_title: politiques_conservation_de_donnees(procedure).join)), **external_link_attributes do
= politique = politique
- if procedure.deliberation.attached? - if procedure.deliberation.attached?
%li %li

View file

@ -17,8 +17,7 @@ en:
link: "See the procedure's stats" link: "See the procedure's stats"
legals: legals:
header: "Legals" header: "Legals"
data_retention: "%{application_name} : %{duree_conservation_dossiers_dans_ds} months" data_retention: "Data retention and archiving : %{duree_conservation_dossiers_dans_ds} months"
data_retention_title: "Explanation of our data retention and archiving policy"
terms: "Laws regarding this data collection" terms: "Laws regarding this data collection"
dpo: "Contact the Data Protection Officer" dpo: "Contact the Data Protection Officer"
dematerialisation: dematerialisation:

View file

@ -17,9 +17,9 @@ fr:
link: "Voir les statistiques de la démarche" link: "Voir les statistiques de la démarche"
legals: legals:
header: "Cadre juridique" header: "Cadre juridique"
data_retention: "%{application_name} : %{duree_conservation_dossiers_dans_ds} mois" data_retention: "Rétention et archivage des données : %{duree_conservation_dossiers_dans_ds} mois"
data_retention_url: "https://doc.demarches-simplifiees.fr/pour-aller-plus-loin/archivage-longue-duree-des-demarches" data_retention_url: "https://doc.demarches-simplifiees.fr/pour-aller-plus-loin/archivage-longue-duree-des-demarches"
data_retention_title: "Explications sur notre politique de rétention et darchivage des données" data_retention_title: "%{data_retention_title}"
terms: "Texte cadrant la demande dinformation" terms: "Texte cadrant la demande dinformation"
dpo: "Contacter le Délégué à la Protection des Données" dpo: "Contacter le Délégué à la Protection des Données"
official_links: official_links: