Merge pull request #1476 from consul/more-info-pages

More info pages
This commit is contained in:
Juanjo Bazán
2017-03-31 11:56:10 +02:00
committed by GitHub
33 changed files with 294 additions and 275 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@@ -6,6 +6,7 @@
@import "admin";
@import "layout";
@import "participation";
@import "pages";
@import "custom";
@import "c3";
@import "annotator.min";

View File

@@ -0,0 +1,111 @@
// Table of Contents
//
// 01. Header
// 02. Navigation
// 03. Content
// 04. Sidebar
//
// 01. Header
// ----------------------
.jumbo {
margin-bottom: $line-height;
margin-top: rem-calc(-24);
padding-bottom: $line-height;
padding-top: $line-height;
&.light {
background: #ECF0F1;
}
}
.lead {
font-size: rem-calc(24);
}
// 03. Navigation
// ----------------------
.menu-pages {
list-style-type: none;
margin: 0;
li {
display: block;
@include breakpoint(medium) {
display: inline-block;
margin-right: $line-height/2;
}
}
}
// 03. Content
// ----------------------
.more-info-content {
h3 {
color: $brand;
}
.additional-info {
margin-bottom: $line-height;
}
a:not(.button) {
text-decoration: underline;
}
figure {
margin: 0;
text-align: center;
figcaption {
font-size: $small-font-size;
font-style: italic;
}
}
ul.features {
list-style-type: circle;
margin-left: $line-height;
@include breakpoint(medium) {
margin: $line-height 0 $line-height $line-height*2.5;
}
li {
margin-bottom: $line-height
}
}
.section-content {
border-top: 1px solid $medium-gray;
padding-bottom: $line-height*2;
padding-top: $line-height*2;
&:first-child {
border-top: 0;
padding-top: 0;
}
}
}
// 04. Sidebar
// ----------------------
.more-info-sidebar {
.sidebar-card {
border: 1px solid $border;
margin-bottom: $line-height;
padding: $line-height/2;
&.light {
background: #ECF0F1;
border: 0;
}
}
}

View File

@@ -43,7 +43,6 @@
<div class="small-12 medium-8 column">
<%= t("layouts.footer.copyright", year: Time.current.year) %>&nbsp;|
<ul class="no-bullet inline-block">
<li class="inline-block"><%= link_to t("layouts.footer.more_info"), page_path('more_information') %>&nbsp;|</li>
<li class="inline-block"><%= link_to t("layouts.footer.privacy"), page_path('privacy') %>&nbsp;|</li>
<li class="inline-block"><%= link_to t("layouts.footer.conditions"), page_path('conditions') %>&nbsp;|</li>
<li class="inline-block"><%= link_to t("layouts.footer.accessibility"), page_path('accessibility') %></li>

View File

@@ -1,20 +0,0 @@
<div class="row margin-top">
<div class="small-12 medium-3 column">
<%= render "shared/back_link" %>
<ul class="menu vertical margin-top">
<li>
<a href="#i"><strong>I. <%= t('pages.more_information.how_it_works.i') %></strong></a>
<ul class="nested vertical menu">
<li><a href="#i1"><strong>I.1. <%= t('pages.more_information.how_it_works.i1') %></strong></a></li>
<li><a href="#i2"><strong>I.2. <%= t('pages.more_information.how_it_works.i2') %></strong></a></li>
</ul>
</li>
</ul>
</div>
<div class="small-12 medium-9 column">
<h1><%= t('pages.more_information.titles.how_it_works') %></h1>
<%= markdown t('pages.more_information.how_it_works.text') %>
</div>
</div>

View File

@@ -0,0 +1,20 @@
<div class="row section-content">
<div class="small-12 column">
<h3 id="budgets" data-magellan-target="budgets">Presupuestos participativos</h3>
<p>
<%= link_to "Información detallada de Presupuestos participativos", more_info_budgets_path, class: "small" %>
</p>
<p>Los primeros seis meses de cada año puedes decidir cómo gastar parte del presupuesto.</p>
<ul class="features">
<li>Para crear un proyecto de gasto tienes que <%= link_to "registrarte en " + setting['org_name'], new_user_registration_path %> y verificar tu cuenta.</li>
<li>En primer lugar empieza la <strong>fase de aceptación</strong> de proyectos de gasto.</li>
<li>Después hay una <strong>fase de apoyos</strong> para priorizar lo más interesante, las más apoyadas son evaluadas por el Ayuntamiento para ver si son viables y cuánto valen.</li>
<li>Al final hay una <strong>fase de votación</strong> donde se decide en cuáles se gasta esa parte del presupuesto.</li>
</ul>
<figure>
<%= image_tag "more_info/budgets.png", alt: "Diferentes fases de un presupuesto participativo" %>
<figcaption>Fase de "Apoyos" y fase de "Votación" de los presupuestos participativos.</figcaption>
</figure>
</div>
</div>

View File

@@ -0,0 +1,15 @@
<div class="row section-content">
<div class="small-12 column">
<h3 id="debates" data-magellan-target="debates">Debates</h3>
<p>Crea un hilo en el que debatir sobre cualquier tema que quieras compartir con el resto de gente de tu ciudad.</p>
<ul class="features">
<li>Para crear un debate tienes que <%= link_to "registrarte en " + setting['org_name'], new_user_registration_path %>.</li>
<li>Los debates pueden ser valorados utilizando los botones de <strong>Estoy de acuerdo</strong> o <strong>No estoy de acuerdo</strong> que encontrarás en cada uno de ellos.</li>
</ul>
<figure>
<%= image_tag "more_info/debates.png", alt: "Botones para valorar los debates" %>
<figcaption>Botones "Estoy de acuerdo" y "No estoy de acuerdo" para valorar los debates.</figcaption>
</figure>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<div class="row">
<div class="small-12 column">
<ul class="menu-pages" data-magellan>
<% if feature?(:debates) %>
<li>
<%= link_to t("pages.more_information.menu.debates"), "#debates", class: "button hollow expanded" %>
</li>
<% end %>
<li>
<%= link_to t("pages.more_information.menu.proposals"), "#proposals", class: "button hollow expanded" %>
</li>
<% if feature?(:budgets) %>
<li>
<%= link_to t("pages.more_information.menu.budgets"), "#budgets", class: "button hollow expanded" %>
</li>
<% end %>
<li>
<%= link_to t("pages.more_information.menu.other"), "#other", class: "button hollow expanded" %>
</li>
</ul>
</div>
</div>

View File

@@ -0,0 +1,6 @@
<h3 id="other" data-magellan-target="other">Otra información de interés</h3>
<ul class="features">
<li><%= link_to "Participación ciudadana directa en el mundo", participation_facts_path %></li>
<li><%= link_to "Hechos sobre participación ciudadana y democracia directa", participation_world_path %></li>
</ul>

View File

@@ -0,0 +1,19 @@
<div class="row section-content">
<div class="small-12 column">
<h3 id="proposals" data-magellan-target="proposals">Propuestas</h3>
<p>
<%= link_to "Información detallada de Propuestas", more_info_proposals_path, class: "small" %>
</p>
<p>Propón lo que quieres que el Ayuntamiento lleve a cabo y apoya propuestas de otras personas.</p>
<ul class="features">
<li>Para crear una propuesta tienes que <%= link_to "registrarte en " + setting['org_name'], new_user_registration_path %>, además para apoyarlas debes verificar tu cuenta.</li>
<li>Las propuestas que consigan <strong>el apoyo del 1% de la gente</strong> (mayor de 16 años empadronada en Madrid; 27.064 apoyos) pasan a votación.</li>
<li>Si hay más gente a favor que en contra en la votación, <strong>el Ayuntamiento asume la propuesta y se hace</strong>.</li>
</ul>
<figure>
<%= image_tag "more_info/proposals.png", alt: "Botón para apoyar una propuesta" %>
<figcaption>Botón para "Apoyar" una propuesta.<br>Cuando alcance el número de apoyos pasará a votación.</figcaption>
</figure>
</div>
</div>

View File

@@ -0,0 +1,11 @@
<div class="sidebar-card">
<h3>¿Problemas técnicos?</h3>
<p>Lee las preguntas frecuentes y resuelve tus dudas.</p>
<%= link_to "Ver preguntas frecuentes", faq_path, class: "button expanded" %>
</div>
<div class="sidebar-card light">
<h3>Utiliza <%= setting['org_name'] %> en tu municipio</h3>
<p>Utilízalo en tu municipio libremente o ayúdanos a mejorarlo, es software libre.</p>
<%= link_to "Cómo usar " + setting['org_name'], how_to_use_path , class: "button expanded" %>
</div>

View File

@@ -0,0 +1,39 @@
<% provide :title do %><%= t("pages.titles.more_information", org_name: setting['org_name']) %><% end %>
<div class="jumbo light">
<div class="row">
<div class="small-12 column">
<h2><%= t("pages.more_information.title", org_name: setting['org_name']) %></h2>
<p class="lead"><%= t("pages.more_information.subtitle") %></p>
<p><%= t("pages.more_information.guide", org_name: setting['org_name']) %></p>
</div>
</div>
<%= render "pages/more_info/menu" %>
</div>
<div id="more-info" class="more-info-content">
<div class="row">
<div class="small-12 medium-7 large-8 column">
<% if feature?(:debates) %>
<%= render "pages/more_info/debates" %>
<% end %>
<%= render "pages/more_info/proposals" %>
<% if feature?(:budgets) %>
<%= render "pages/more_info/budgets" %>
<% end %>
</div>
<div class="small-12 medium-4 large-3 column more-info-sidebar">
<%= render "pages/more_info/sidebar" %>
</div>
</div>
<div class="row">
<hr>
<div class="small-12 column">
<%= render "pages/more_info/other" %>
</div>
</div>
</div>

View File

@@ -1,71 +0,0 @@
<% provide :title do %><%= t('pages.titles.more_information') %><% end %>
<div class="row">
<div class="more-information small-12 medium-9 large-7 column">
<h1><%= t('pages.titles.more_information') %></h1>
<ul class="no-bullet">
<li>
<%= link_to page_path('how_it_works') do %>
<%= t('pages.more_information.titles.how_it_works') %>
<br>
<span><%= t('pages.more_information.description.how_it_works') %></span>
<% end %>
</li>
<li>
<%= link_to page_path('how_to_use') do %>
<%= t('pages.more_information.titles.how_to_use') %>
<br>
<span><%= t('pages.more_information.description.how_to_use') %></span>
<% end %>
</li>
<li>
<%= link_to page_path('participation') do %>
<%= t('pages.more_information.titles.participation') %>
<br>
<span><%= t('pages.more_information.description.participation') %></span>
<% end %>
</li>
<li>
<%= link_to page_path('proposals_info') do %>
<%= t('pages.more_information.titles.proposals_info') %>
<br>
<span><%= t('pages.more_information.description.proposals_info') %></span>
<% end %>
</li>
<li>
<%= link_to page_path('spending_proposals_info') do %>
<%= t('pages.more_information.titles.spending_proposals_info') %>
<br>
<span><%= t('pages.more_information.description.spending_proposals_info') %></span>
<% end %>
</li>
<li>
<%= link_to page_path('participation_world') do %>
<%= t('pages.more_information.titles.participation_world') %>
<br>
<span><%= t('pages.more_information.description.participation_world') %></span>
<% end %>
</li>
<li>
<%= link_to page_path('participation_facts') do %>
<%= t('pages.more_information.titles.participation_facts') %>
<br>
<span><%= t('pages.more_information.description.participation_facts') %></span>
<% end %>
</li>
<li>
<%= link_to page_path('faq') do %>
<%= t('pages.more_information.titles.faq') %>
<br>
<span><%= t('pages.more_information.description.faq') %></span>
<% end %>
</li>
<li>
<%= link_to page_path('proposals_info', :anchor => "iii") do %>
<%= t('pages.more_information.titles.signature_sheet') %>
<br>
<span><%= t('pages.more_information.description.signature_sheet') %></span>
<% end %>
</li>
</ul>
</div>
</div>

View File

@@ -1,14 +0,0 @@
<% provide :title do %><%= t('pages.titles.opendata') %><% end %>
<div class="expanded highlight no-margin-top">
<div class="row padding margin">
<div class="small-12 medium-7 column">
<h1><%= t("pages.opendata.title") %></h1>
<p><%= t("pages.opendata.slogan") %></p>
</div>
<div class="show-for-medium small-12 medium-5 column text-center">
<%= image_tag("icon_home.png", size: "330x240", alt:"") %>
</div>
</div>
</div>

View File

@@ -1,46 +0,0 @@
<div class="row margin-top">
<div class="small-12 medium-3 column">
<%= render "shared/back_link" %>
<ul class="menu vertical margin-top hide-for-small-only">
<li>
<a href="#i"><strong>I. Participación</strong></a>
<ul class="nested vertical menu">
<li><a href="#i1"><strong>I.1. Participación</strong></a></li>
<li><a href="#i2"><strong>I.2. Participación</strong></a></li>
<li><a href="#i3"><strong>I.3. Participación</strong></a></li>
</ul>
</li>
<li>
<a href="#ii"><strong>II. Transparencia</strong></a>
<ul class="nested vertical menu">
<li><a href="#ii1"><strong>II.1. Transparencia</strong></a></li>
<li><a href="#ii2"><strong>II.2. Transparencia</strong></a></li>
<li><a href="#ii3"><strong>II.3. Transparencia</strong></a></li>
</ul>
</li>
</ul>
</div>
<div class="small-12 medium-9 column">
<h1>Participación y Transparencia</h1>
<p>Página de información sobre Participación y Transparencia.</p>
<h3 id="i">I. Participación.</h3>
<ul>
<li id="i1"><strong>I.1. Participación.</strong> Información sobre Participación</li>
<li id="i2"><strong>I.1. Participación.</strong> Información sobre Participación</li>
<li id="i3"><strong>I.1. Participación.</strong> Información sobre Participación</li>
</ul>
<h3 id="ii">II. Transparencia</h3>
<ul>
<li id="ii1"><strong>II.1. Transparencia</strong> Información sobre Transparencia</li>
<li id="ii2"><strong>II.1. Transparencia</strong> Información sobre Transparencia</li>
<li id="ii3"><strong>II.1. Transparencia</strong> Información sobre Transparencia</li>
</ul>
</div>
</div>

View File

@@ -36,5 +36,11 @@
accesskey: "4" %>
</li>
<% end %>
<li>
<%= link_to t("layouts.header.more_information"),
more_info_path,
accesskey: "5",
class: ("active" if current_page?(more_info_path)) %>
</li>
</ul>
</div>

View File

@@ -1,9 +1,4 @@
<ul class="no-bullet external-links">
<li>
<%= link_to t("layouts.header.more_information"),
page_path('more_information'),
class: ("selected" if current_page?("/more_information")) %>
</li>
<li>
<%= link_to t("layouts.header.external_link_transparency"),
t("layouts.header.external_link_transparency_url"),

View File

@@ -174,7 +174,6 @@ en:
copyright: Consul, %{year}
description: This portal uses the %{consul} which is %{open_source}.
faq: technical assistance
more_info: More information
open_data_text: Every detail about the City Council is yours to access.
open_data_title: Open data
open_source: open-source software
@@ -191,7 +190,7 @@ en:
debates: Debates
external_link_blog: Blog
external_link_opendata: Open data
external_link_opendata_url: "/opendata"
external_link_opendata_url: https://opendata.consul
external_link_transparency: Transparency
external_link_transparency_url: https://transparency.consul
locale: 'Language:'

View File

@@ -174,7 +174,6 @@ es:
copyright: Consul, %{year}
description: Este portal usa la %{consul} que es %{open_source}.
faq: Asistencia técnica
more_info: Más información
open_data_text: Todos los datos del Ayuntamiento son tuyos.
open_data_title: Datos Abiertos
open_source: software libre
@@ -191,7 +190,7 @@ es:
debates: Debates
external_link_blog: Blog
external_link_opendata: Datos abiertos
external_link_opendata_url: "/opendata"
external_link_opendata_url: https://opendata.consul
external_link_transparency: Transparencia
external_link_transparency_url: https://transparency.consul
locale: 'Idioma:'

View File

@@ -854,7 +854,6 @@ fr:
description: Ce portail utiliser %{consul} qui est %{open_source}. De Madrid
ouvert sur le monde.
faq: assistance technique
more_info: Plus d'information
open_data_text: Tout les détails de la Mairie sont vôtre pour accès
open_data_title: Open data
open_source: logiciel libre

View File

@@ -5,41 +5,14 @@ en:
conditions: Terms and conditions of use
general_terms: Terms and Conditions
more_information:
description:
faq: Frecuently asked question about tecnical problems
how_it_works: Find out all you can do with this web site
how_to_use: Use it freely or help us to improve it, it is free software
participation: Citizen participation, transparency and open government
participation_facts: To lose your fear
participation_world: Systems of citizen participation that exist in the world
proposals_info: Create your own proposals
signature_sheet: Sheet collecting signatures for support
spending_proposals_info: Create your own spending proposals
how_it_works:
i: Participation
i1: Debates area
i2: Proposals area
text: |-
The new Open Government Portal is divided in three parts: Participation, Transparency and Open Data (you can see the links in the upper right-hand part).
>**I. Participation:** In this part we can decide which city we want (using citizen proposals, debate areas, participatory budgets , collaborative legislation, and many others we will implement).
**II. Transparency:** In this part information about how the city is managed will be published every day: name, position, salary, contracts, agenda,... of the persons in charge. It is also the place where exercise your right to access information, having the chance to request any information about City Council easily and rapidly.
**III. Open data:** In this part the city council databases are posted, so that anyone can use information directly, without having to ask. It can also be requested the publication of more databases.
We have opened the new Participation portal and we will open the new Transparency and Open Data seccion shortly (meanwhile the links to existing sites are kept).
## <a id='i'></a> I. Participation
The participation section will have different ways to participate: citizen proposals, debate areas, participatory budgets , collaborative legislation, and many others. You can currently visit the debate area and the citizen proposals will be ready very soon.
## <a id='i1'></a>I.I. Debates area
In the debates area everyone can open a discussion thread about any topic, creating an independent space where people could debate about the proposed topic. In this way, in this digital space there will be hundreds of different debate spaces which citizens could see, joining the ones they find more interesting.
Both threads and comments could be valued by anyone, so the citizenship, and not someone in its name, will decide which are the most important issues in every moment. These will be showed in the main page of the space, being able to access also the rest of issues in following pages, or using others order criteria (the most commented, the newst, the most controversial, etc.).
Every city council employee has its own user, which will be designated as such, allowing them to participate in debates at the same level than the rest of citizens. That will allow creating direct communication spaces between them, avoiding the problems that implies the measured communication, and following clear approach of the new City Council by virtue of which the city council works for the citizenship.
## <a id='i2'></a> I.I. Proposals area
In the proposals area everyone can propose an initiative with the intention of collecting support enough for the idea being consulting to the whole citizenship with binding effect.
The proposals can be supported by every citizen registered that has verified their account in the participation platform. In this way, the citizenship, and not someone in its name, will decide which are the proposals that are worthwhile to carry out.
One that the proposal has achive support of 1% census, it will be studied by a city council group and to move beyond the popular referendum phase, in which citizenship will vote if it is carried out or not. The maximum period to obtain support enough is 12 months.
title: "Discover %{org_name}"
subtitle: "Learn everything you can do on this website."
guide: This guide explains each of the sections of %{org_name}. You can expand the information on "Detailed information" links.'
menu:
debates: "Debates"
proposals: "Proposals"
budgets: "Participatory budgets"
other: "Other information of interest"
how_to_use:
text: |-
Use it in your local government or help us to improve it, it is free software.
@@ -48,24 +21,12 @@ en:
If you are a programmer, you can see the code and help us to improve it at [Consul app](https://github.com/ayuntamientomadrid 'consul github').
titles:
faq: Solution to tecnical problemas (FAQ)
how_it_works: How does this Open Government Portal work?
how_to_use: Use it in your local government
participation: Participation and Transparency y Transparencia - coming news
participation_facts: Facts about citizen participation and direct democracy
participation_world: Direct citizen participation in the world
proposals_info: How does citizen proposals work?
signature_sheet: Signature sheet
spending_proposals_info: How does participatory budgeting work?
opendata:
slogan: "Information about Open Data."
title: Open Data
privacy: Privacy Policy
titles:
accessibility: Accessibility
conditions: Terms of use
more_information: More information
opendata: Open Data
more_information: "More information about %{org_name}"
privacy: Privacy Policy
verify:
code: Code you received in letter
@@ -74,4 +35,4 @@ en:
info_code: 'Now introduce the code you received in letter:'
password: Password
submit: Verify my account
title: Verify your account
title: Verify your account

View File

@@ -5,41 +5,14 @@ es:
conditions: Condiciones de uso
general_terms: Términos y Condiciones
more_information:
description:
faq: Preguntas frecuentes sobre problemas técnicos
how_it_works: Descubre todo lo que puedes hacer en esta web
how_to_use: Utilízalo libremente o ayúdanos a mejorarlo, es software libre
participation: Participación Ciudadana, Transparencia y Gobierno Abierto
participation_facts: Para perderle el miedo
participation_world: Sistemas de participación ciudadana que ya existen en el mundo
proposals_info: Crea tus propias propuestas
signature_sheet: Hojas de firmas para recoger apoyos
spending_proposals_info: Envía tus propuestas de gasto
how_it_works:
i: Participación
i1: Espacio de debate
i2: Espacio de propuestas
text: |-
El nuevo Portal de Gobierno Abierto está dividido en tres partes: Participación, Transparencia y Datos Abiertos (verás los enlaces en la parte superior derecha).
>**I. Participación:** Donde poder decidir qué ciudad queremos tener (a través de propuestas ciudadanas, espacios de debate, presupuestos participativos, legislación colaborativa, y muchos otros procesos que iremos implementando).
**II. Transparencia:** En este espacio se publicarán todos los datos relativos a quién y cómo se gestiona la ciudad (nombres de los responsables, cargos, sueldos, planes de gobierno, contratos, agendas de los responsables...). Además es el espacio donde ejercer el derecho de acceso a la información, pudiendo solicitar cualquier información sobre el Ayuntamiento de manera fácil y rápida.
**III. Datos Abiertos:** En este espacio se cuelgan las bases de datos que tiene el Ayuntamiento, para que cualquiera pueda usar toda la información directamente, sin necesidad ni siquiera de preguntar. También se puede solicitar la publicación de más bases de datos.
Inauguramos el nuevo portal con la nueva sección de Participación, y en breve añadiremos las nuevas secciones de Transparencia y Datos Abiertos (así que mantenemos por el momento los enlaces a las páginas al respecto que ya existían).
## <a id='i'></a> I. Participación
El apartado de participación comprenderá diferentes mecanismos de participación: propuestas ciudadanas, espacios de debate, presupuestos participativos, legislación colaborativa, entre muchos otros. Por el momento presentamos el espacio de debate, y muy pronto las propuestas ciudadanas.
## <a id='i1'></a>I.I. Espacio de debate
En este espacio, cualquier persona puede abrir un hilo de discusión sobre cualquier tema, creando un espacio independiente donde la gente podrá debatir sobre el tema propuesto. De esta manera, en este espacio digital convivirán cada día cientos de espacios de debate distintos entre los que la ciudadanía podrá pasearse, sumándose a los que más les interese.
Tanto los hilos, como los comentarios podrán ser valorados por cualquiera, de tal manera que será la propia ciudadanía, y nadie en su nombre, la que decida cuáles son los temas más importantes en cada momento. Estos serán presentados en la portada del espacio, pudiendo por supuesto accederse a todos los demás temas en páginas posteriores, o usando otros criterios de ordenación (los temas con más comentarios, los más nuevos, los más controvertidos, etc.).
Cada uno de los trabajadores del Ayuntamiento tiene un usuario propio, que será resaltado como tal, permitiendo que participen en los debates al mismo nivel que todos los demás ciudadanos. Esto permitirá crear espacios de comunicación directos entre unos y otros, evitando los inconvenientes que implica la comunicación mediada, y respondiendo a un planteamiento claro por parte del nuevo gobierno por el cual el Ayuntamiento trabaja para la ciudadanía, y ante ella debe responder.
## <a id='i2'></a> I.I. Espacio de propuestas
En este espacio, cualquier persona puede proponer una iniciativa con la intención de recabar los suficientes apoyos como para que la idea pase a ser consultada a toda la ciudadanía con carácter vinculante.
Las propuestas pueden ser apoyadas por ciudadanos empadronados que hayan verificado su cuenta en la plataforma de participación, de tal manera que será la propia ciudadanía, y nadie en su nombre, la que decida cuáles son las propuestas que merecen la pena ser llevadas a cabo.
Una vez que una propuesta alcance una cantidad de apoyos equivalente al 1% del censo, automáticamente pasa a ser estudiada por un grupo de trabajo del Ayuntamiento y pasará a la siguiente fase de consulta popular, en la que la ciudadanía votará si se lleva a cabo o no. El plazo máximo para recabar los apoyos necesarios será de 12 meses.
title: "Descubre %{org_name}"
subtitle: "Aprende todo lo que puedes hacer en esta web."
guide: 'Esta guía explica de cada una de las secciones de %{org_name}. Puedes ampliar la información en los enlaces de "Información detallada".'
menu:
debates: "Debates"
proposals: "Propuestas"
budgets: "Presupuestos participativos"
other: "Otra información de interés"
how_to_use:
text: |-
Utilízalo en tu municipio libremente o ayúdanos a mejorarlo, es software libre.
@@ -48,24 +21,12 @@ es:
Si eres programador, puedes ver el código y ayudarnos a mejorarlo en [aplicación Consul](https://github.com/ayuntamientomadrid 'github consul').
titles:
faq: Soluciones a problemas técnicos (FAQ)
how_it_works: "¿Cómo funciona este Portal de Gobierno Abierto?"
how_to_use: Utilízalo en tu municipio
participation: Participación y Transparencia - Próximas novedades
participation_facts: Hechos sobre participación ciudadana y democracia directa
participation_world: Participación ciudadana directa en el mundo
proposals_info: "¿Cómo funcionan las propuestas ciudadanas?"
signature_sheet: Hojas de firmas
spending_proposals_info: "¿Cómo funcionan los presupuestos participativos?"
opendata:
slogan: "Información sobre Datos abiertos."
title: Datos abiertos
privacy: Política de Privacidad
titles:
accessibility: Accesibilidad
conditions: Condiciones de uso
more_information: Más información
opendata: Datos abiertos
more_information: "Más información sobre %{org_name}"
privacy: Política de Privacidad
verify:
code: Código que has recibido en tu carta
@@ -74,4 +35,4 @@ es:
info_code: 'Ahora introduce el código que has recibido en tu carta:'
password: Contraseña
submit: Verificar mi cuenta
title: Verifica tu cuenta
title: Verifica tu cuenta

View File

@@ -841,7 +841,6 @@ pt-BR:
description: Este portal usa o %{consul} que é %{open_source}. De Madrid para
o mundo.
faq: suporte técnico
more_info: Mais informações
open_data_text: Todos os detalhes sobre a Câmara estão disponíveis para acesso.
open_data_title: Dados abertos
open_source: programa de código aberto

View File

@@ -311,6 +311,15 @@ Rails.application.routes.draw do
mount Tolk::Engine => '/translate', :as => 'tolk'
# more information pages
get 'more-information', to: 'pages#show', id: 'more_info/index', as: 'more_info'
get 'more-information/how-to-use', to: 'pages#show', id: 'more_info/how_to_use/index', as: 'how_to_use'
get 'more-information/faq', to: 'pages#show', id: 'more_info/faq/index', as: 'faq'
get 'more-information/proposals', to: 'pages#show', id: 'more_info/proposals/index', as: 'more_info_proposals'
get 'more-information/budgets', to: 'pages#show', id: 'more_info/budgets/index', as: 'more_info_budgets'
get 'more-information/participation/facts', to: 'pages#show', id: 'more_info/participation/facts', as: 'participation_facts'
get 'more-information/participation/world', to: 'pages#show', id: 'more_info/participation/world', as: 'participation_world'
# static pages
get '/blog' => redirect("http://blog.consul/")
resources :pages, path: '/', only: [:show]

View File

@@ -22,38 +22,37 @@ describe PagesController do
get :show, id: :census_terms
expect(response).to be_ok
end
end
describe 'Provisional pages' do
it 'should include a opendata page' do
get :show, id: :opendata
it 'should include a accessibility page' do
get :show, id: :accessibility
expect(response).to be_ok
end
end
describe 'Info pages' do
it 'should include a how_it_works page' do
get :show, id: :how_it_works
describe 'More info pages' do
it 'should include a more_information page' do
get :show, id: 'more_info/index'
expect(response).to be_ok
end
it 'should include a how_to_use page' do
get :show, id: :how_to_use
get :show, id: 'more_info/how_to_use/index'
expect(response).to be_ok
end
it 'should include a more_information page' do
get :show, id: :more_information
it 'should include a faq page' do
get :show, id: 'more_info/faq/index'
expect(response).to be_ok
end
it 'should include a participation page' do
get :show, id: :participation
it 'should include a participation facts page' do
get :show, id: 'more_info/participation/facts'
expect(response).to be_ok
end
it 'should include a accessibility page' do
get :show, id: :accessibility
it 'should include a participation world page' do
get :show, id: 'more_info/participation/world'
expect(response).to be_ok
end
end