Adds new legislation processes section on help page
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
<%= link_to t("pages.help.menu.polls"), "#polls", class: "button hollow expanded" %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if feature?(:legislation) %>
|
||||
<li>
|
||||
<%= link_to t("pages.help.menu.processes"), "#processes", class: "button hollow expanded" %>
|
||||
</li>
|
||||
<% end %>
|
||||
<li>
|
||||
<%= link_to t("pages.help.menu.other"), "#other", class: "button hollow expanded" %>
|
||||
</li>
|
||||
|
||||
20
app/views/pages/help/_processes.html.erb
Normal file
20
app/views/pages/help/_processes.html.erb
Normal 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>
|
||||
@@ -33,6 +33,10 @@
|
||||
<% if feature?(:polls) %>
|
||||
<%= render "pages/help/polls" %>
|
||||
<% end %>
|
||||
|
||||
<% if feature?(:legislation) %>
|
||||
<%= render "pages/help/processes" %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="small-12 medium-4 large-3 column more-info-sidebar">
|
||||
<%= render "pages/help/sidebar" %>
|
||||
|
||||
@@ -13,6 +13,7 @@ en:
|
||||
budgets: "Participatory budgets"
|
||||
polls: "Polls"
|
||||
other: "Other information of interest"
|
||||
processes: "Processes"
|
||||
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."
|
||||
@@ -48,6 +49,12 @@ en:
|
||||
feature_1_link: "register in %{org_name}"
|
||||
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."
|
||||
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:
|
||||
title: "Technical problems?"
|
||||
description: "Read the FAQs and solve your questions."
|
||||
|
||||
@@ -13,6 +13,7 @@ es:
|
||||
budgets: "Presupuestos participativos"
|
||||
polls: "Votaciones"
|
||||
other: "Otra información de interés"
|
||||
processes: "Procesos legislativos"
|
||||
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."
|
||||
@@ -48,6 +49,12 @@ es:
|
||||
feature_1_link: "registrarte en %{org_name}"
|
||||
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."
|
||||
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:
|
||||
title: "¿Problemas técnicos?"
|
||||
description: "Lee las preguntas frecuentes y resuelve tus dudas."
|
||||
|
||||
Reference in New Issue
Block a user