From 2eea0e21b533479b52c248735af9e392518c6615 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Wed, 19 Apr 2023 10:18:59 +0200 Subject: [PATCH 01/16] add footer to page: transfer your file --- app/views/users/dossiers/transferer.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/users/dossiers/transferer.html.haml b/app/views/users/dossiers/transferer.html.haml index 1a2f54829..33696ff87 100644 --- a/app/views/users/dossiers/transferer.html.haml +++ b/app/views/users/dossiers/transferer.html.haml @@ -18,3 +18,7 @@ = f.hidden_field :dossier, value: @dossier.id = f.submit t('.submit'), class: 'fr-btn' + + .fr-footer__bottom + = render partial: 'users/general_footer_row' + = render partial: 'shared/footer_copy' From 0a900d72eabee07714c4f0dd0c933480cf360fed Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Wed, 19 Apr 2023 10:34:35 +0200 Subject: [PATCH 02/16] add footer to profile page --- app/views/users/profil/show.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/users/profil/show.html.haml b/app/views/users/profil/show.html.haml index 0f41d01c5..4a71391cc 100644 --- a/app/views/users/profil/show.html.haml +++ b/app/views/users/profil/show.html.haml @@ -74,3 +74,7 @@ method: :delete, data: { confirm: t('.unlink_confirmation', full_name: fci.full_name) }, class: 'fr-btn fr-btn--secondary fr-ml-2w' + + .fr-footer__bottom + = render partial: 'users/general_footer_row' + = render partial: 'shared/footer_copy' From 3262c5bf001fd498375fd68dcaeaea061490151b Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Wed, 19 Apr 2023 11:38:59 +0200 Subject: [PATCH 03/16] reinitilization branch --- app/views/users/dossiers/transferer.html.haml | 4 ---- app/views/users/profil/show.html.haml | 4 ---- 2 files changed, 8 deletions(-) diff --git a/app/views/users/dossiers/transferer.html.haml b/app/views/users/dossiers/transferer.html.haml index 33696ff87..1a2f54829 100644 --- a/app/views/users/dossiers/transferer.html.haml +++ b/app/views/users/dossiers/transferer.html.haml @@ -18,7 +18,3 @@ = f.hidden_field :dossier, value: @dossier.id = f.submit t('.submit'), class: 'fr-btn' - - .fr-footer__bottom - = render partial: 'users/general_footer_row' - = render partial: 'shared/footer_copy' diff --git a/app/views/users/profil/show.html.haml b/app/views/users/profil/show.html.haml index 4a71391cc..0f41d01c5 100644 --- a/app/views/users/profil/show.html.haml +++ b/app/views/users/profil/show.html.haml @@ -74,7 +74,3 @@ method: :delete, data: { confirm: t('.unlink_confirmation', full_name: fci.full_name) }, class: 'fr-btn fr-btn--secondary fr-ml-2w' - - .fr-footer__bottom - = render partial: 'users/general_footer_row' - = render partial: 'shared/footer_copy' From 4581c1e08f5587fa2c47a757360e5e5fb1191e30 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Tue, 25 Apr 2023 10:09:37 +0200 Subject: [PATCH 04/16] update wording root footer --- config/locales/links.fr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/links.fr.yml b/config/locales/links.fr.yml index a6c68d929..5b794f4e9 100644 --- a/config/locales/links.fr.yml +++ b/config/locales/links.fr.yml @@ -83,5 +83,5 @@ fr: label: Gestion des cookies title: Gestion des cookies contact: - label: Contactez-nous - title: Contactez-nous + label: Nous contacter + title: Nous contacter From 1981357cbe65ee92f641641ee436f35d514be908 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Tue, 25 Apr 2023 10:18:10 +0200 Subject: [PATCH 05/16] update wording root footer --- config/locales/views/users/procedure_footer/fr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/locales/views/users/procedure_footer/fr.yml b/config/locales/views/users/procedure_footer/fr.yml index 307e3d72b..9f5c45eae 100644 --- a/config/locales/views/users/procedure_footer/fr.yml +++ b/config/locales/views/users/procedure_footer/fr.yml @@ -37,6 +37,6 @@ fr: url: "https://data.gouv.fr" dematerialisation: header: Dématérialisation - title_1: Accès au formulaire PDF à imprimer + title_1: Télécharger le formulaire title_2: Trouver une maison France Services link: "https://www.transformation.gouv.fr/france-services" From ffeace89408273acb8d167bb3429ef058e1883f9 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Wed, 26 Apr 2023 10:12:09 +0200 Subject: [PATCH 06/16] update footer account creation page --- app/views/layouts/procedure_context.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/procedure_context.html.haml b/app/views/layouts/procedure_context.html.haml index 4c2874c34..3143c57d7 100644 --- a/app/views/layouts/procedure_context.html.haml +++ b/app/views/layouts/procedure_context.html.haml @@ -17,6 +17,6 @@ - if procedure = render partial: 'users/procedure_footer', locals: { procedure: procedure, dossier: @dossier } - else - = render partial: 'users/dossiers/index_footer' + = render partial: "root/footer" = render template: 'layouts/application' From a2a37cddf878eaf0aee1d2971f250f73558dd564 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Wed, 26 Apr 2023 10:31:52 +0200 Subject: [PATCH 07/16] update wording root footer logo --- app/views/root/_footer.html.haml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/root/_footer.html.haml b/app/views/root/_footer.html.haml index ca916b027..43c933318 100644 --- a/app/views/root/_footer.html.haml +++ b/app/views/root/_footer.html.haml @@ -42,9 +42,7 @@ .fr-footer__body .fr-footer__brand.fr-enlarge-link %p.fr-logo - premier - %br - ministre + gouvernement = link_to t("links.footer.betagouv.url"), title: t("links.footer.betagouv.title"), class: "fr-footer__brand-link" do = image_tag("footer/logo-beta-gouv-fr.svg", class: "fr-footer__logo logo-beta-gouv-fr", alt: "beta.gouv.fr") .fr-footer__content From 1ca80ba617e277cfbcb1eceb10fd86ff1810b59c Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Thu, 27 Apr 2023 09:59:25 +0200 Subject: [PATCH 08/16] update root footer esponsive --- app/assets/images/footer/logo-beta-gouv-fr.svg | 1 - app/assets/images/footer/logo-dinum.svg | 1 + app/views/root/_footer.html.haml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 app/assets/images/footer/logo-beta-gouv-fr.svg create mode 100644 app/assets/images/footer/logo-dinum.svg diff --git a/app/assets/images/footer/logo-beta-gouv-fr.svg b/app/assets/images/footer/logo-beta-gouv-fr.svg deleted file mode 100644 index 9066bf73d..000000000 --- a/app/assets/images/footer/logo-beta-gouv-fr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/images/footer/logo-dinum.svg b/app/assets/images/footer/logo-dinum.svg new file mode 100644 index 000000000..4f179d0ca --- /dev/null +++ b/app/assets/images/footer/logo-dinum.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/views/root/_footer.html.haml b/app/views/root/_footer.html.haml index 43c933318..52f274c21 100644 --- a/app/views/root/_footer.html.haml +++ b/app/views/root/_footer.html.haml @@ -44,7 +44,7 @@ %p.fr-logo gouvernement = link_to t("links.footer.betagouv.url"), title: t("links.footer.betagouv.title"), class: "fr-footer__brand-link" do - = image_tag("footer/logo-beta-gouv-fr.svg", class: "fr-footer__logo logo-beta-gouv-fr", alt: "beta.gouv.fr") + = image_tag("footer/logo-dinum.svg", class: "fr-footer__logo logo-beta-gouv-fr", alt: "beta.gouv.fr") .fr-footer__content %p.fr-footer__content-desc = t('links.footer.description_1') From 84cbf1cf886269f265a906f2e17a6bf19a12fca0 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Thu, 27 Apr 2023 10:14:31 +0200 Subject: [PATCH 09/16] update structure and attributes simple footer --- app/views/users/dossiers/_index_footer.html.haml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/users/dossiers/_index_footer.html.haml b/app/views/users/dossiers/_index_footer.html.haml index 16f9f1273..7f9644a2d 100644 --- a/app/views/users/dossiers/_index_footer.html.haml +++ b/app/views/users/dossiers/_index_footer.html.haml @@ -1,3 +1,4 @@ -%footer.procedure-footer - .container +%footer.procedure-footer.fr-footer__bottom{ role: "contentinfo" } + .fr-container = render partial: "users/general_footer_row", locals: { dossier: nil } + = render partial: "shared/footer_copy" From fe5e29c200e68ceaca027bf421eb325e0663ca5d Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Thu, 27 Apr 2023 10:32:01 +0200 Subject: [PATCH 10/16] update information link dinum root footer --- app/views/root/_footer.html.haml | 4 ++-- config/locales/links.en.yml | 7 ++++--- config/locales/links.fr.yml | 7 ++++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/views/root/_footer.html.haml b/app/views/root/_footer.html.haml index 52f274c21..6670a1323 100644 --- a/app/views/root/_footer.html.haml +++ b/app/views/root/_footer.html.haml @@ -43,8 +43,8 @@ .fr-footer__brand.fr-enlarge-link %p.fr-logo gouvernement - = link_to t("links.footer.betagouv.url"), title: t("links.footer.betagouv.title"), class: "fr-footer__brand-link" do - = image_tag("footer/logo-dinum.svg", class: "fr-footer__logo logo-beta-gouv-fr", alt: "beta.gouv.fr") + = link_to t("links.footer.dinum.url"), title: t("links.footer.dinum.title"), class: "fr-footer__brand-link" do + = image_tag("footer/logo-dinum.svg", class: "fr-footer__logo logo-beta-gouv-fr", alt: t("links.footer.dinum.alt")) .fr-footer__content %p.fr-footer__content-desc = t('links.footer.description_1') diff --git a/config/locales/links.en.yml b/config/locales/links.en.yml index 93e8eb0ac..f8104a4a7 100644 --- a/config/locales/links.en.yml +++ b/config/locales/links.en.yml @@ -36,9 +36,10 @@ en: label: "API Documentation" title: "API Documentation" url: "https://doc.demarches-simplifiees.fr/pour-aller-plus-loin/graphql" - betagouv: - title: "The Beta.gouv.fr website — First Minister" - url: "https://beta.gouv.fr" + dinum: + title: "The DINUM website - Government" + url: "https://www.numerique.gouv.fr/dinum/" + alt: "Interministerial Directorate for Digital Affairs" code: label: "Source code" title: "Our Source code is open source" diff --git a/config/locales/links.fr.yml b/config/locales/links.fr.yml index 5b794f4e9..59fe2d391 100644 --- a/config/locales/links.fr.yml +++ b/config/locales/links.fr.yml @@ -36,9 +36,10 @@ fr: label: "Documentation de l’API" title: "Documentation graphql de l’API" url: "https://doc.demarches-simplifiees.fr/pour-aller-plus-loin/graphql" - betagouv: - title: "Le site de beta.gouv.fr — Premier Ministre" - url: "https://beta.gouv.fr" + dinum: + title: "Le site de la DINUM — Gouvernement" + url: "https://www.numerique.gouv.fr/dinum/" + alt: "Direction interministérielle du numérique" cgu: label: "CGU" title: "Conditions Générales d’Utilisation" From f5da547083a3bee4b143ff32bfc8085298e95793 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Thu, 27 Apr 2023 11:24:15 +0200 Subject: [PATCH 11/16] update structure management content procedure footer --- app/views/users/_procedure_footer.html.haml | 24 +++++-------------- .../views/users/procedure_footer/en.yml | 6 ++--- .../views/users/procedure_footer/fr.yml | 2 +- 3 files changed, 10 insertions(+), 22 deletions(-) diff --git a/app/views/users/_procedure_footer.html.haml b/app/views/users/_procedure_footer.html.haml index 68da85e10..633666d2e 100644 --- a/app/views/users/_procedure_footer.html.haml +++ b/app/views/users/_procedure_footer.html.haml @@ -4,6 +4,12 @@ .fr-container .fr-grid-row.fr-grid-row--start.fr-grid-row--gutters .fr-col-12.fr-col-sm-4.fr-col-md-4 + - if service.present? + %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.managed_by.header') + .fr-footer__top-link.fr-pb-3w + %span{ lang: :fr }= "#{service.nom}, #{service.organisme}," + %div{ lang: :fr } + = render SimpleFormatComponent.new(service.adresse, class_names_map: {paragraph: 'fr-footer__content-desc'}) %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.contact.header') %ul.fr-footer__top-list - if dossier.present? && dossier.messagerie_available? @@ -58,24 +64,6 @@ = link_to t('users.procedure_footer.dematerialisation.title_2'), t('users.procedure_footer.dematerialisation.link'), class: 'fr-footer__top-link', title: new_tab_suffix(t("users.procedure_footer.dematerialisation.title_2")), **external_link_attributes .fr-container - .fr-footer__body - .fr-footer__brand.fr-enlarge-link - = link_to t("links.provider.url"), title: t("links.provider.title") do - %p.fr-logo - premier - %br - ministre - - - if service.present? - .fr-footer__content - - %p.fr-footer__content-desc - = I18n.t('users.procedure_footer.managed_by.header') - %span{ lang: :fr }= "#{service.nom}, #{service.organisme}," - %div{ lang: :fr } - = render SimpleFormatComponent.new(service.adresse, class_names_map: {paragraph: 'fr-footer__content-desc'}) - = render partial: "shared/footer_content_list" - .fr-footer__bottom = render partial: 'users/general_footer_row', locals: { dossier: dossier } = render partial: 'shared/footer_copy' diff --git a/config/locales/views/users/procedure_footer/en.yml b/config/locales/views/users/procedure_footer/en.yml index c10d97162..cd65b03ff 100644 --- a/config/locales/views/users/procedure_footer/en.yml +++ b/config/locales/views/users/procedure_footer/en.yml @@ -2,9 +2,9 @@ en: users: procedure_footer: managed_by: - header: 'This procedure is managed by :' + header: 'This procedure is managed by' contact: - header: 'Ask a question about your file :' + header: 'Ask a question about your procedure' in_app_mail: link: "Direclty via the chat" email: @@ -16,7 +16,7 @@ en: stats: link: "See the procedure's stats" legals: - header: "Legals :" + header: "Legals" data_retention: "%{application_name} : %{duree_conservation_dossiers_dans_ds} months" data_retention_title: "Explanation of our data retention and archiving policy" terms: "Laws regarding this data collection" diff --git a/config/locales/views/users/procedure_footer/fr.yml b/config/locales/views/users/procedure_footer/fr.yml index 9f5c45eae..d96b01b61 100644 --- a/config/locales/views/users/procedure_footer/fr.yml +++ b/config/locales/views/users/procedure_footer/fr.yml @@ -4,7 +4,7 @@ fr: managed_by: header: 'Cette démarche est gérée par' contact: - header: 'Poser une question sur votre dossier' + header: 'Poser une question sur votre démarche' in_app_mail: link: "Directement par la messagerie" email: From 578c4dd6004af0820f8ab17d82e9c91f743ffc13 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Thu, 27 Apr 2023 11:39:51 +0200 Subject: [PATCH 12/16] fix PR remove unused translations --- config/locales/links.en.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/locales/links.en.yml b/config/locales/links.en.yml index f8104a4a7..a1aeddd58 100644 --- a/config/locales/links.en.yml +++ b/config/locales/links.en.yml @@ -1,9 +1,7 @@ en: links: provider: - provided_by: "la DINUM" - title: "Direction Interministérielle au Numérique" - url: "https://numerique.gouv.fr" + provided_by: "The DINUM" common: faq: label: "FAQ" From 45898decbae1e520583baa5382c780be8d51754b Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Thu, 27 Apr 2023 16:23:16 +0200 Subject: [PATCH 13/16] update structure, content and translations procedure footer --- .../images/footer/logo-france-services.svg | 1 + app/views/users/_procedure_footer.html.haml | 32 +++++++++++-------- .../views/users/procedure_footer/en.yml | 9 ++++-- .../views/users/procedure_footer/fr.yml | 5 ++- 4 files changed, 29 insertions(+), 18 deletions(-) create mode 100644 app/assets/images/footer/logo-france-services.svg diff --git a/app/assets/images/footer/logo-france-services.svg b/app/assets/images/footer/logo-france-services.svg new file mode 100644 index 000000000..7f3a64671 --- /dev/null +++ b/app/assets/images/footer/logo-france-services.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/views/users/_procedure_footer.html.haml b/app/views/users/_procedure_footer.html.haml index 633666d2e..8b2bae253 100644 --- a/app/views/users/_procedure_footer.html.haml +++ b/app/views/users/_procedure_footer.html.haml @@ -1,12 +1,12 @@ -%footer.fr-footer#footer{ role: "contentinfo" } +%footer.fr-footer.footer-procedure#footer{ role: "contentinfo" } - service = procedure.service - .fr-footer__top + .fr-footer__top.fr-mb-0 .fr-container .fr-grid-row.fr-grid-row--start.fr-grid-row--gutters .fr-col-12.fr-col-sm-4.fr-col-md-4 - if service.present? %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.managed_by.header') - .fr-footer__top-link.fr-pb-3w + .fr-footer__top-link.fr-pb-2w %span{ lang: :fr }= "#{service.nom}, #{service.organisme}," %div{ lang: :fr } = render SimpleFormatComponent.new(service.adresse, class_names_map: {paragraph: 'fr-footer__content-desc'}) @@ -17,7 +17,10 @@ = link_to I18n.t('users.procedure_footer.contact.in_app_mail.link'), messagerie_dossier_path(dossier), class: 'fr-footer__top-link' - elsif service.present? %li - = link_to I18n.t('users.procedure_footer.contact.email.link', service_email: service.email), "mailto:#{service.email}", class: 'fr-footer__top-link' + %span.fr-footer__top-link + = I18n.t('users.procedure_footer.contact.email.link') + = link_to service.email, "mailto:#{service.email}", class: "fr-footer__top-link" + - if service.telephone.present? || service.horaires.present? %li - horaires = "#{I18n.t('users.procedure_footer.contact.schedule.prefix')}#{formatted_horaires(service.horaires)}" @@ -28,9 +31,6 @@ - if service.horaires.present? %p = horaires - %li - = link_to I18n.t('users.procedure_footer.contact.stats.link'), statistiques_path(procedure.path), class: 'fr-footer__top-link', rel: 'noopener' - - politiques = politiques_conservation_de_donnees(procedure) - if politiques.present? @@ -53,17 +53,21 @@ %li = link_to url_or_email_to_lien_dpo(procedure), rel: 'noopener', class: 'fr-footer__top-link' do = I18n.t("users.procedure_footer.legals.dpo") + %li + = link_to I18n.t('users.procedure_footer.contact.stats.link'), statistiques_path(procedure.path), class: 'fr-footer__top-link', rel: 'noopener' .fr-col-12.fr-col-sm-4.fr-col-md-4 %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.dematerialisation.header') - %ul.fr-footer__top-list - %li - = link_to t('users.procedure_footer.dematerialisation.title_1'), commencer_dossier_vide_for_revision_path(procedure.active_revision), class: 'fr-footer__top-link' - %li - = link_to t('users.procedure_footer.dematerialisation.title_2'), t('users.procedure_footer.dematerialisation.link'), class: 'fr-footer__top-link', title: new_tab_suffix(t("users.procedure_footer.dematerialisation.title_2")), **external_link_attributes + .fr-download + %p + = link_to (t('users.procedure_footer.dematerialisation.title_1') + content_tag(:span, "Format – taille de fichier", :class => "fr-download__detail")).html_safe, commencer_dossier_vide_for_revision_path(procedure.active_revision), class: 'fr-footer__top-link fr-download__link' + %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.support.header') + .fr-footer__brand.fr-enlarge-link + = link_to t("users.procedure_footer.dematerialisation.link"), title: t("users.procedure_footer.dematerialisation.alt"), class: "fr-footer__brand-link" do + = image_tag("footer/logo-france-services.svg", class: "fr-footer__logo logo-france-service-fr", alt: t("users.procedure_footer.dematerialisation.alt")) - .fr-container - .fr-footer__bottom + .fr-footer__bottom.fr-mt-0 + .fr-container = render partial: 'users/general_footer_row', locals: { dossier: dossier } = render partial: 'shared/footer_copy' diff --git a/config/locales/views/users/procedure_footer/en.yml b/config/locales/views/users/procedure_footer/en.yml index cd65b03ff..1bdeb80a2 100644 --- a/config/locales/views/users/procedure_footer/en.yml +++ b/config/locales/views/users/procedure_footer/en.yml @@ -8,9 +8,9 @@ en: in_app_mail: link: "Direclty via the chat" email: - link: "Directly by email %{service_email}" + link: "Directly by email:" phone: - link: 'By phone %{service_telephone}' + link: 'By phone: %{service_telephone}' schedule: prefix: 'Hours : ' stats: @@ -23,6 +23,9 @@ en: dpo: "Contact the Data Protection Officer" dematerialisation: header: Paperless - title_1: Access to the printable PDF form + title_1: Download the form title_2: Find a “France Services” desk link: "https://www.transformation.gouv.fr/france-services" + alt: France services + support: + header: Being supported in your approach diff --git a/config/locales/views/users/procedure_footer/fr.yml b/config/locales/views/users/procedure_footer/fr.yml index d96b01b61..2e7b0250b 100644 --- a/config/locales/views/users/procedure_footer/fr.yml +++ b/config/locales/views/users/procedure_footer/fr.yml @@ -8,7 +8,7 @@ fr: in_app_mail: link: "Directement par la messagerie" email: - link: "Directement par courriel : %{service_email}" + link: "Directement par courriel :" phone: link: 'Par téléphone au %{service_telephone}' schedule: @@ -40,3 +40,6 @@ fr: title_1: Télécharger le formulaire title_2: Trouver une maison France Services link: "https://www.transformation.gouv.fr/france-services" + alt: France services + support: + header: Être accompagné dans votre démarche From 0b127bfc4dffad0af94d5aa85b511a1612c082fe Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Thu, 27 Apr 2023 16:52:33 +0200 Subject: [PATCH 14/16] fix PR remove unused key --- config/locales/views/users/procedure_footer/en.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/locales/views/users/procedure_footer/en.yml b/config/locales/views/users/procedure_footer/en.yml index 1bdeb80a2..84899c634 100644 --- a/config/locales/views/users/procedure_footer/en.yml +++ b/config/locales/views/users/procedure_footer/en.yml @@ -24,7 +24,6 @@ en: dematerialisation: header: Paperless title_1: Download the form - title_2: Find a “France Services” desk link: "https://www.transformation.gouv.fr/france-services" alt: France services support: From 8cde00d0e12dd282f0bbdb25c4c1b0a0ad661546 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Thu, 27 Apr 2023 17:08:11 +0200 Subject: [PATCH 15/16] update download link procedure footer --- app/views/users/_procedure_footer.html.haml | 2 +- config/locales/views/users/procedure_footer/en.yml | 2 +- config/locales/views/users/procedure_footer/fr.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/users/_procedure_footer.html.haml b/app/views/users/_procedure_footer.html.haml index 8b2bae253..0ac5c0417 100644 --- a/app/views/users/_procedure_footer.html.haml +++ b/app/views/users/_procedure_footer.html.haml @@ -61,7 +61,7 @@ %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.dematerialisation.header') .fr-download %p - = link_to (t('users.procedure_footer.dematerialisation.title_1') + content_tag(:span, "Format – taille de fichier", :class => "fr-download__detail")).html_safe, commencer_dossier_vide_for_revision_path(procedure.active_revision), class: 'fr-footer__top-link fr-download__link' + = link_to I18n.t('users.procedure_footer.dematerialisation.title_1'), commencer_dossier_vide_for_revision_path(procedure.active_revision), class: 'fr-footer__top-link fr-download__link' %h3.fr-footer__top-cat= I18n.t('users.procedure_footer.support.header') .fr-footer__brand.fr-enlarge-link = link_to t("users.procedure_footer.dematerialisation.link"), title: t("users.procedure_footer.dematerialisation.alt"), class: "fr-footer__brand-link" do diff --git a/config/locales/views/users/procedure_footer/en.yml b/config/locales/views/users/procedure_footer/en.yml index 84899c634..865a17ca6 100644 --- a/config/locales/views/users/procedure_footer/en.yml +++ b/config/locales/views/users/procedure_footer/en.yml @@ -23,7 +23,7 @@ en: dpo: "Contact the Data Protection Officer" dematerialisation: header: Paperless - title_1: Download the form + title_1: Download the PDF form link: "https://www.transformation.gouv.fr/france-services" alt: France services support: diff --git a/config/locales/views/users/procedure_footer/fr.yml b/config/locales/views/users/procedure_footer/fr.yml index 2e7b0250b..ce8964dae 100644 --- a/config/locales/views/users/procedure_footer/fr.yml +++ b/config/locales/views/users/procedure_footer/fr.yml @@ -37,7 +37,7 @@ fr: url: "https://data.gouv.fr" dematerialisation: header: Dématérialisation - title_1: Télécharger le formulaire + title_1: Télécharger le formulaire PDF title_2: Trouver une maison France Services link: "https://www.transformation.gouv.fr/france-services" alt: France services From 57f0a6795df98e3222388661a6e98c61de63e704 Mon Sep 17 00:00:00 2001 From: Julie Salha Date: Fri, 26 May 2023 11:08:35 +0200 Subject: [PATCH 16/16] add footer to profil page user --- app/views/users/profil/show.html.haml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/users/profil/show.html.haml b/app/views/users/profil/show.html.haml index 0f41d01c5..e8fe3b32a 100644 --- a/app/views/users/profil/show.html.haml +++ b/app/views/users/profil/show.html.haml @@ -74,3 +74,6 @@ method: :delete, data: { confirm: t('.unlink_confirmation', full_name: fci.full_name) }, class: 'fr-btn fr-btn--secondary fr-ml-2w' + +- content_for :footer do + = render partial: 'users/dossiers/index_footer'