Add SDG content section

This commit is contained in:
Javi Martín
2020-11-11 13:16:37 +01:00
parent 2b6c9914dd
commit a42cb050a7
21 changed files with 166 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ data:
- config/locales/%{locale}/user_groups.yml
- config/locales/%{locale}/i18n.yml
- config/locales/%{locale}/milestones.yml
- config/locales/%{locale}/sdg_management.yml
- config/locales/%{locale}/stats.yml
# Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:

View File

@@ -72,6 +72,9 @@ en:
proposal:
one: "Citizen proposal"
other: "Citizen proposals"
sdg/goal:
one: "goal"
other: "goals"
site_customization/page:
one: Custom page
other: Custom pages
@@ -308,6 +311,10 @@ en:
signable_type: "Signable type"
signable_id: "Signable ID"
document_numbers: "Documents numbers"
sdg/goal:
code: "Code"
title: "Title"
description: "Description"
site_customization/page:
content: Content
created_at: Created at

View File

@@ -0,0 +1,6 @@
en:
sdg_management:
header:
title: "SDG content"
menu:
sdg_content: "Goals and Targets"

View File

@@ -72,6 +72,9 @@ es:
proposal:
one: "Propuesta ciudadana"
other: "Propuestas ciudadanas"
sdg/goal:
one: "objetivo"
other: "objetivos"
site_customization/page:
one: Página
other: Páginas
@@ -305,6 +308,10 @@ es:
proposal_notification:
body: "Mensaje"
title: "Título"
sdg/goal:
code: "Código"
title: "Título"
description: "Descripción"
signature_sheet:
title: "Título"
signable_type: "Tipo de hoja de firmas"

View File

@@ -0,0 +1,6 @@
es:
sdg_management:
header:
title: "Contenido ODS"
menu:
sdg_content: "Objetivos y Metas"

View File

@@ -21,6 +21,7 @@ Rails.application.routes.draw do
draw :poll
draw :proposal
draw :related_content
draw :sdg_management
draw :tag
draw :user
draw :valuation

View File

@@ -0,0 +1,5 @@
namespace :sdg_management do
root to: "goals#index"
resources :goals, only: [:index]
end