diff --git a/app/helpers/conservation_de_donnees_helper.rb b/app/helpers/conservation_de_donnees_helper.rb index 5a38b1347..562288d6a 100644 --- a/app/helpers/conservation_de_donnees_helper.rb +++ b/app/helpers/conservation_de_donnees_helper.rb @@ -10,7 +10,6 @@ module ConservationDeDonneesHelper def conservation_dans_ds(procedure) if procedure.duree_conservation_dossiers_dans_ds.present? I18n.t('users.procedure_footer.legals.data_retention', - application_name: Current.application_name, duree_conservation_dossiers_dans_ds: procedure.duree_conservation_dossiers_dans_ds) end end diff --git a/app/views/users/_procedure_footer.html.haml b/app/views/users/_procedure_footer.html.haml index 2cd27333b..79e514f41 100644 --- a/app/views/users/_procedure_footer.html.haml +++ b/app/views/users/_procedure_footer.html.haml @@ -13,7 +13,7 @@ %ul.fr-footer__top-list - politiques.each do |politique| %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 - if procedure.deliberation.attached? %li diff --git a/config/locales/views/users/procedure_footer/en.yml b/config/locales/views/users/procedure_footer/en.yml index 4d1632cca..3dade9a89 100644 --- a/config/locales/views/users/procedure_footer/en.yml +++ b/config/locales/views/users/procedure_footer/en.yml @@ -17,8 +17,7 @@ en: link: "See the procedure's stats" legals: header: "Legals" - data_retention: "%{application_name} : %{duree_conservation_dossiers_dans_ds} months" - data_retention_title: "Explanation of our data retention and archiving policy" + data_retention: "Data retention and archiving : %{duree_conservation_dossiers_dans_ds} months" terms: "Laws regarding this data collection" dpo: "Contact the Data Protection Officer" dematerialisation: diff --git a/config/locales/views/users/procedure_footer/fr.yml b/config/locales/views/users/procedure_footer/fr.yml index a238508b5..7e986ed53 100644 --- a/config/locales/views/users/procedure_footer/fr.yml +++ b/config/locales/views/users/procedure_footer/fr.yml @@ -17,9 +17,9 @@ fr: link: "Voir les statistiques de la démarche" legals: 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_title: "Explications sur notre politique de rétention et d’archivage des données" + data_retention_title: "%{data_retention_title}" terms: "Texte cadrant la demande d’information" dpo: "Contacter le Délégué à la Protection des Données" official_links: