add structure static page accessibility statement
This commit is contained in:
parent
9a38da09ed
commit
5a237333eb
8 changed files with 67 additions and 2 deletions
4
app/controllers/accessibility_statement_controller.rb
Normal file
4
app/controllers/accessibility_statement_controller.rb
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
class AccessibilityStatementController < ApplicationController
|
||||||
|
def index
|
||||||
|
end
|
||||||
|
end
|
|
@ -1,4 +1,7 @@
|
||||||
class StaticPagesController < ApplicationController
|
class StaticPagesController < ApplicationController
|
||||||
def legal_notice
|
def legal_notice
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def accessibility_statement
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
39
app/views/static_pages/accessibility_statement.html.haml
Normal file
39
app/views/static_pages/accessibility_statement.html.haml
Normal 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')
|
|
@ -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
|
||||||
|
|
|
@ -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 d’accessibilité"
|
||||||
|
intro: "La DINUM s’engage à rendre son service accessible, conformément à l’article 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 d’accessibilité"
|
||||||
|
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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -32,7 +32,7 @@ fr:
|
||||||
accessibilite:
|
accessibilite:
|
||||||
label: "Accessibilité : partiellement conforme"
|
label: "Accessibilité : partiellement conforme"
|
||||||
title: "Consulter notre déclaration d’accessibilité"
|
title: "Consulter notre déclaration d’accessibilité"
|
||||||
url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite"
|
url: "https://www.demarches-simplifiees.fr/declaration-accessibilite"
|
||||||
api_doc:
|
api_doc:
|
||||||
label: "Documentation de l’API"
|
label: "Documentation de l’API"
|
||||||
title: "Documentation graphql de l’API"
|
title: "Documentation graphql de l’API"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue