Adds new legislation processes section on help page

This commit is contained in:
decabeza
2018-02-08 19:06:41 +01:00
parent dac5b7c9a2
commit 2154a614c2
5 changed files with 43 additions and 0 deletions

View File

@@ -21,6 +21,11 @@
<%= link_to t("pages.help.menu.polls"), "#polls", class: "button hollow expanded" %> <%= link_to t("pages.help.menu.polls"), "#polls", class: "button hollow expanded" %>
</li> </li>
<% end %> <% end %>
<% if feature?(:legislation) %>
<li>
<%= link_to t("pages.help.menu.processes"), "#processes", class: "button hollow expanded" %>
</li>
<% end %>
<li> <li>
<%= link_to t("pages.help.menu.other"), "#other", class: "button hollow expanded" %> <%= link_to t("pages.help.menu.other"), "#other", class: "button hollow expanded" %>
</li> </li>

View File

@@ -0,0 +1,20 @@
<div class="row section-content">
<div class="small-12 column">
<h3 id="processes" data-magellan-target="processes">
<%= t("pages.help.processes.title") %>
</h3>
<p>
<% link = link_to(t("pages.help.processes.link"), legislation_processes_path) %>
<%= t("pages.help.processes.description", link: link).html_safe %>
</p>
<ul class="features">
<li>
<% link = link_to(t("pages.help.processes.link"), legislation_processes_path) %>
<% sign_up_link = t("pages.help.processes.sign_up", org: setting['org_name']) %>
<% sign_up = link_to(sign_up_link, new_user_registration_path) %>
<%= t("pages.help.processes.feature", link: link, sign_up: sign_up).html_safe %>
</li>
</ul>
</div>
</div>

View File

@@ -33,6 +33,10 @@
<% if feature?(:polls) %> <% if feature?(:polls) %>
<%= render "pages/help/polls" %> <%= render "pages/help/polls" %>
<% end %> <% end %>
<% if feature?(:legislation) %>
<%= render "pages/help/processes" %>
<% end %>
</div> </div>
<div class="small-12 medium-4 large-3 column more-info-sidebar"> <div class="small-12 medium-4 large-3 column more-info-sidebar">
<%= render "pages/help/sidebar" %> <%= render "pages/help/sidebar" %>

View File

@@ -13,6 +13,7 @@ en:
budgets: "Participatory budgets" budgets: "Participatory budgets"
polls: "Polls" polls: "Polls"
other: "Other information of interest" other: "Other information of interest"
processes: "Processes"
debates: debates:
title: "Debates" title: "Debates"
description: "In the %{link} section you can present and share your opinion with other people on issues of concern to you related to the city. It is also a place to generate ideas that through the other sections of %{org} lead to concrete actions by the City Council." description: "In the %{link} section you can present and share your opinion with other people on issues of concern to you related to the city. It is also a place to generate ideas that through the other sections of %{org} lead to concrete actions by the City Council."
@@ -48,6 +49,12 @@ en:
feature_1_link: "register in %{org_name}" feature_1_link: "register in %{org_name}"
feature_2: "All registered voters over the age of 16 can vote." feature_2: "All registered voters over the age of 16 can vote."
feature_3: "The results of all votes are binding on the municipal government." feature_3: "The results of all votes are binding on the municipal government."
processes:
title: "Processes"
description: "In the %{link} section, citizens participate in the drafting and modification of regulations affecting the city and can give their opinion on municipal policies in previous debates."
link: "processes"
feature: "To participate in a process you have to %{sign_up} and check the %{link} page periodically to see which regulations and policies are being discussed and consulted."
sign_up: "sign up on %{org}"
faq: faq:
title: "Technical problems?" title: "Technical problems?"
description: "Read the FAQs and solve your questions." description: "Read the FAQs and solve your questions."

View File

@@ -13,6 +13,7 @@ es:
budgets: "Presupuestos participativos" budgets: "Presupuestos participativos"
polls: "Votaciones" polls: "Votaciones"
other: "Otra información de interés" other: "Otra información de interés"
processes: "Procesos legislativos"
debates: debates:
title: "Debates" title: "Debates"
description: "En la sección de %{link} puedes exponer y compartir tu opinión con otras personas sobre temas que te preocupan relacionados con la ciudad. También es un espacio donde generar ideas que a través de las otras secciones de %{org} lleven a actuaciones concretas por parte del Ayuntamiento." description: "En la sección de %{link} puedes exponer y compartir tu opinión con otras personas sobre temas que te preocupan relacionados con la ciudad. También es un espacio donde generar ideas que a través de las otras secciones de %{org} lleven a actuaciones concretas por parte del Ayuntamiento."
@@ -48,6 +49,12 @@ es:
feature_1_link: "registrarte en %{org_name}" feature_1_link: "registrarte en %{org_name}"
feature_2: "Pueden votar todas las personas empadronadas en la ciudad mayores de 16 años." feature_2: "Pueden votar todas las personas empadronadas en la ciudad mayores de 16 años."
feature_3: "Los resultados de todas las votaciones son vinculantes para el gobierno municipal." feature_3: "Los resultados de todas las votaciones son vinculantes para el gobierno municipal."
processes:
title: "Procesos legislativos"
description: "En la sección de %{link} la ciudadanía participa en la elaboración y modificación de normativa que afecta a la ciudad y puede dar su opinión sobre las políticas municipales en debates previos."
link: "procesos legislativos"
feature: "Para participar en un proceso hay que %{sign_up} y consultar la página de %{link} periódicamente para saber qué normativas y políticas se están debatiendo y consultando."
sign_up: "registrarse en %{org}"
faq: faq:
title: "¿Problemas técnicos?" title: "¿Problemas técnicos?"
description: "Lee las preguntas frecuentes y resuelve tus dudas." description: "Lee las preguntas frecuentes y resuelve tus dudas."