From 3e4fdc9004962f2c8a8fa186fedf2cf67aca8f56 Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Mon, 17 Jul 2023 17:46:26 +0200 Subject: [PATCH] change wording and margin --- .../procedures/_publication_form_inputs.html.haml | 8 +------- config/locales/models/procedure/en.yml | 2 +- config/locales/models/procedure/fr.yml | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/app/views/administrateurs/procedures/_publication_form_inputs.html.haml b/app/views/administrateurs/procedures/_publication_form_inputs.html.haml index 34b74f09e..45275de36 100644 --- a/app/views/administrateurs/procedures/_publication_form_inputs.html.haml +++ b/app/views/administrateurs/procedures/_publication_form_inputs.html.haml @@ -17,13 +17,7 @@ pattern: '^[a-z0-9_-]{3,200}$', autocomplete: 'off') --# %span{ data: { controller: 'clipboard', clipboard_text_value: '' } } --# %button.fr-btn.fr-icon-clipboard-line.fr-btn--sm.fr-btn--secondary.fr-btn--icon-left{ data: { action: 'clipboard#copy' }, title: 'Copier le lien public' } --# Copier le lien public --# %span.fr-text--sm.hidden{ data: { clipboard_target: 'success' } } --# = @success || t('.copy_confirmation') - -= render Dsfr::AlertComponent.new(state: :info, size: :sm, extra_class_names: 'fr-mb-2w') do |c| += render Dsfr::AlertComponent.new(state: :info, size: :sm, extra_class_names: 'fr-mb-4w') do |c| - c.body do = t('activerecord.attributes.procedure.procedure_path_alert', link: APPLICATION_NAME) diff --git a/config/locales/models/procedure/en.yml b/config/locales/models/procedure/en.yml index 1cd667d1e..56d8f83bd 100644 --- a/config/locales/models/procedure/en.yml +++ b/config/locales/models/procedure/en.yml @@ -25,7 +25,7 @@ en: old_procedure: Replaced procedure number procedure_path: Procedure link procedure_path_placeholder: procedure-name - procedure_path_alert: Please note, always post the full link displayed above (by clicking the "Copy Public Link" button), not a generic link to %{link}. + procedure_path_alert: Please note, always post the full link displayed above, not a generic link to %{link}. cadre_juridique: Link to the legal text lien_dpo: Link or email to contact the data protection officer (DPO) duree_conservation_dossiers_dans_ds: Duration files will be kept diff --git a/config/locales/models/procedure/fr.yml b/config/locales/models/procedure/fr.yml index f4d03ece4..463ef9812 100644 --- a/config/locales/models/procedure/fr.yml +++ b/config/locales/models/procedure/fr.yml @@ -29,7 +29,7 @@ fr: old_procedure: Numéro de la démarche remplacée procedure_path: Lien de la démarche procedure_path_placeholder: nom-de-la-demarche - procedure_path_alert: Attention, diffusez toujours le lien complet affiché ci-dessus ( en cliquant sur le bouton « Copier le lien public »), et non pas un lien générique vers %{link}. + procedure_path_alert: Attention, diffusez toujours le lien complet affiché ci-dessus, et non pas un lien générique vers %{link}. cadre_juridique: Lien vers le texte lien_dpo: Lien ou email pour contacter le Délégué à la Protection des Données (DPO) published_at: 'Date de publication'