fix(accessibility-statement): dynamic content depending of instance
This commit is contained in:
parent
ed3b2cca6f
commit
1a9f9a5803
3 changed files with 11 additions and 9 deletions
|
@ -10,7 +10,7 @@
|
|||
%h1.fr-mb-4w
|
||||
= t('views.accessibility_statement.title')
|
||||
%p.fr-mb-2w= t('views.accessibility_statement.line_one')
|
||||
%p.fr-mb-2w= t('views.accessibility_statement.line_two') + " (" +ENV["APP_HOST"]+ ")."
|
||||
%p.fr-mb-2w= t('views.accessibility_statement.line_two', app_name: APPLICATION_NAME, host: URI(APPLICATION_BASE_URL).host)
|
||||
|
||||
%div
|
||||
%h2
|
||||
|
@ -84,15 +84,17 @@
|
|||
%li
|
||||
= link_to t("views.accessibility_statement.preparation.page_three.label"), MENTIONS_LEGALES_URL
|
||||
%li
|
||||
= link_to t("views.accessibility_statement.preparation.page_four.label"), ACCESSIBILITE_URL
|
||||
= link_to t("views.accessibility_statement.preparation.page_four.label"), ACCESSIBILITE_URL
|
||||
%li
|
||||
= link_to t("views.accessibility_statement.preparation.page_five.label"), new_user_session_path
|
||||
%li
|
||||
= t("views.accessibility_statement.preparation.page_six")
|
||||
%li
|
||||
= link_to t("views.accessibility_statement.preparation.page_seven.label"), t("views.accessibility_statement.preparation.page_seven.url"), title: t("views.accessibility_statement.preparation.page_seven.title"), target: "_blank", rel: "noopener noreferrer"
|
||||
= link_to t("views.accessibility_statement.preparation.page_seven.label"), t("views.accessibility_statement.preparation.page_seven.url"),
|
||||
title: t("views.accessibility_statement.preparation.page_seven.title"), **external_link_attributes
|
||||
%li
|
||||
= link_to t("views.accessibility_statement.preparation.page_eight.label"), t("views.accessibility_statement.preparation.page_eight.url"), title: t("views.accessibility_statement.preparation.page_eight.title"), target: "_blank", rel: "noopener noreferrer"
|
||||
= link_to t("views.accessibility_statement.preparation.page_eight.label"), t("views.accessibility_statement.preparation.page_eight.url"),
|
||||
title: t("views.accessibility_statement.preparation.page_eight.title"), **external_link_attributes
|
||||
%li
|
||||
= t("views.accessibility_statement.preparation.page_nine")
|
||||
%li
|
||||
|
@ -120,7 +122,7 @@
|
|||
= mail_to CONTACT_EMAIL
|
||||
%li
|
||||
= t('views.accessibility_statement.contact.infos.phone_html')
|
||||
= phone_to CONTACT_PHONE.gsub(" "), CONTACT_PHONE
|
||||
= phone_to CONTACT_PHONE.gsub(" ", ""), CONTACT_PHONE
|
||||
%li
|
||||
= t('views.accessibility_statement.contact.infos.adress_html')
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ en:
|
|||
accessibility_statement:
|
||||
title: "Accessibility statement"
|
||||
line_one: "DINUM is committed to making its service accessible in accordance with Article 47 of Law No. 2005-102 of 11 February 2005."
|
||||
line_two: "This accessibility statement applies to Démarches simplifiées"
|
||||
line_two: "This accessibility statement applies to %{app_name} (%{host})."
|
||||
compliance:
|
||||
title: "Compliance status"
|
||||
line_one_html: "The website Démarches simplifiées is <strong>partially compliant</strong> with the General Accessibility Guidelines (RGAA) version 4."
|
||||
|
@ -158,7 +158,7 @@ en:
|
|||
tool_six: "Stylus (Firefox extension)"
|
||||
subtitle_four: "Pages of the site subject to the compliance check"
|
||||
page_one:
|
||||
label: "Démarches simplifiées"
|
||||
label: "Home"
|
||||
page_two:
|
||||
label: "Contact"
|
||||
page_three:
|
||||
|
|
|
@ -110,7 +110,7 @@ fr:
|
|||
accessibility_statement:
|
||||
title: "Déclaration d’accessibilité"
|
||||
line_one: "La DINUM s’engage à rendre son service accessible, conformément à l’article 47 de la loi n° 2005-102 du 11 février 2005."
|
||||
line_two: "Cette déclaration d’accessibilité s’applique à Démarches simplifiées"
|
||||
line_two: "Cette déclaration d’accessibilité s’applique à %{app_name} (%{host})."
|
||||
compliance:
|
||||
title: "État de conformité"
|
||||
line_one_html: "Le site Démarches simplifiées est <strong>partiellement conforme</strong> avec le référentiel général d’amélioration de l’accessibilité (RGAA) version 4."
|
||||
|
@ -154,7 +154,7 @@ fr:
|
|||
tool_six: "Stylus (extension Firefox)"
|
||||
subtitle_four: "Pages du site ayant fait l’objet de la vérification de conformité"
|
||||
page_one:
|
||||
label: "Démarches simplifiées"
|
||||
label: "Accueil"
|
||||
page_two:
|
||||
label: "Contact"
|
||||
page_three:
|
||||
|
|
Loading…
Reference in a new issue