Uniform title with link content
This commit is contained in:
parent
019b1e389f
commit
acdd259e1d
4 changed files with 4 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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 d’archivage des données"
|
data_retention_title: "%{data_retention_title}"
|
||||||
terms: "Texte cadrant la demande d’information"
|
terms: "Texte cadrant la demande d’information"
|
||||||
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:
|
||||||
|
|
Loading…
Reference in a new issue