add structure static page accessibility statement

This commit is contained in:
Julie Salha 2023-03-21 11:11:12 +01:00 committed by Colin Darie
parent 9a38da09ed
commit 5a237333eb
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
8 changed files with 67 additions and 2 deletions

View file

@ -0,0 +1,4 @@
class AccessibilityStatementController < ApplicationController
def index
end
end

View file

@ -1,4 +1,7 @@
class StaticPagesController < ApplicationController class StaticPagesController < ApplicationController
def legal_notice def legal_notice
end end
def accessibility_statement
end
end end

View file

@ -0,0 +1,39 @@
- content_for(:title, t('views.accessibility_statement.title'))
- content_for :footer do
= render partial: "root/footer"
#accessibility-statement.fr-pt-2w
.fr-container
%h1.fr-mb-4w
= t('views.accessibility_statement.title')
%p.fr-mb-2w= t('views.accessibility_statement.intro')
.accessibility-block
%h2
= t('views.accessibility_statement.compliance')
%p.fr-mb-2w= t('views.legal_notice.editing_content.line_one')
.accessibility-block
%h2
= t('views.accessibility_statement.results')
%p.fr-mb-2w= t('views.legal_notice.direction_content')
.accessibility-block
%h2
= t('views.accessibility_statement.no_accessible')
%p.fr-mb-2w= t('views.legal_notice.hosting_content.line_one')
.accessibility-block
%h2
= t('views.accessibility_statement.preparation')
%p.fr-mb-2w= t('views.legal_notice.hosting_content.line_one')
.accessibility-block
%h2
= t('views.accessibility_statement.contact')
%p.fr-mb-2w= t('views.legal_notice.hosting_content.line_one')
.accessibility-block
%h2
= t('views.accessibility_statement.remedies')
%p.fr-mb-2w= t('views.legal_notice.hosting_content.line_one')

View file

@ -111,6 +111,15 @@ en:
hosting_content: hosting_content:
line_four: "VAT NUMBER: FR 22 424 761 419" line_four: "VAT NUMBER: FR 22 424 761 419"
line_five: "Head office : 2 rue Kellermann - 59100 Roubaix - France." line_five: "Head office : 2 rue Kellermann - 59100 Roubaix - France."
accessibility_statement:
title: "Accessibility statement"
intro: "DINUM is committed to making its service accessible in accordance with Article 47 of Law No. 2005-102 of 11 February 2005."
compliance: "Compliance status"
results: "Test results"
no_accessible: "Non-accessible content"
preparation: "Preparation of this accessibility declaration"
contact: "Improvement and contact"
remedies: "Remedies"
commencer: commencer:
show: show:
start_procedure: Start the procedure start_procedure: Start the procedure

View file

@ -107,6 +107,15 @@ fr:
line_three: "Code APE 6202A" line_three: "Code APE 6202A"
line_four: "N° TVA : FR 22 424 761 419" line_four: "N° TVA : FR 22 424 761 419"
line_five: "Siège social : 2 rue Kellermann - 59100 Roubaix - France." line_five: "Siège social : 2 rue Kellermann - 59100 Roubaix - France."
accessibility_statement:
title: "Déclaration daccessibilité"
intro: "La DINUM sengage à rendre son service accessible, conformément à larticle 47 de la loi n° 2005-102 du 11 février 2005."
compliance: "État de conformité"
results: "Résultats des tests"
no_accessible: "Contenus non accessibles"
preparation: "Établissement de cette déclaration daccessibilité"
contact: "Amélioration et contact"
remedies: "Voies de recours"
commencer: commencer:
show: show:
start_procedure: Commencer la démarche start_procedure: Commencer la démarche

View file

@ -32,7 +32,7 @@ en:
accessibilite: accessibilite:
label: "Accessibility: partially compliant" label: "Accessibility: partially compliant"
title: "Accessibility declaration" title: "Accessibility declaration"
url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite" url: "https://www.demarches-simplifiees.fr/declaration-accessibilite"
api_doc: api_doc:
label: "API Documentation" label: "API Documentation"
title: "API Documentation" title: "API Documentation"

View file

@ -32,7 +32,7 @@ fr:
accessibilite: accessibilite:
label: "Accessibilité : partiellement conforme" label: "Accessibilité : partiellement conforme"
title: "Consulter notre déclaration daccessibilité" title: "Consulter notre déclaration daccessibilité"
url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite" url: "https://www.demarches-simplifiees.fr/declaration-accessibilite"
api_doc: api_doc:
label: "Documentation de lAPI" label: "Documentation de lAPI"
title: "Documentation graphql de lAPI" title: "Documentation graphql de lAPI"

View file

@ -196,6 +196,7 @@ Rails.application.routes.draw do
get "contact-admin", to: "support#admin" get "contact-admin", to: "support#admin"
get "mentions-legales", to: "static_pages#legal_notice" get "mentions-legales", to: "static_pages#legal_notice"
get "declaration-accessibilite", to: "static_pages#accessibility_statement"
post "webhooks/sendinblue", to: "webhook#sendinblue" post "webhooks/sendinblue", to: "webhook#sendinblue"
post "webhooks/helpscout", to: "webhook#helpscout" post "webhooks/helpscout", to: "webhook#helpscout"