adds polls section on more info pages
This commit is contained in:
15
app/views/pages/more_info/_polls.html.erb
Normal file
15
app/views/pages/more_info/_polls.html.erb
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<div class="row section-content">
|
||||||
|
<div class="small-12 column">
|
||||||
|
<h3 id="polls" data-magellan-target="polls"><%= t("pages.more_info.polls.title") %></h3>
|
||||||
|
<p><%= t("pages.more_info.polls.description") %></p>
|
||||||
|
<ul class="features">
|
||||||
|
<li>
|
||||||
|
<%= t("pages.more_info.polls.feature_1",
|
||||||
|
link: link_to(t("pages.more_info.polls.feature_1_link", org_name: setting['org_name']),
|
||||||
|
new_user_registration_path)).html_safe %>
|
||||||
|
</li>
|
||||||
|
<li><%= t("pages.more_info.polls.feature_2") %></li>
|
||||||
|
<li><%= t("pages.more_info.polls.feature_3") %></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@@ -24,6 +24,10 @@
|
|||||||
<% if feature?(:budgets) %>
|
<% if feature?(:budgets) %>
|
||||||
<%= render "pages/more_info/budgets" %>
|
<%= render "pages/more_info/budgets" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<% if feature?(:polls) %>
|
||||||
|
<%= render "pages/more_info/polls" %>
|
||||||
|
<% 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/more_info/sidebar" %>
|
<%= render "pages/more_info/sidebar" %>
|
||||||
|
|||||||
@@ -42,6 +42,13 @@ en:
|
|||||||
feature_4_html: "At the end there is a <strong>voting phase </strong> where it is decided on which part of the budget is spent."
|
feature_4_html: "At the end there is a <strong>voting phase </strong> where it is decided on which part of the budget is spent."
|
||||||
image_alt: "Different phases of a participatory budget"
|
image_alt: "Different phases of a participatory budget"
|
||||||
figcaption_html: '"Support phase" and "Voting" phase of participatory budgets.'
|
figcaption_html: '"Support phase" and "Voting" phase of participatory budgets.'
|
||||||
|
polls:
|
||||||
|
title: "Polls"
|
||||||
|
description: "Citizen proposals that reach 1% of support will be put to a vote."
|
||||||
|
feature_1: "To participate in the next poll you have to %{link} and verify your account."
|
||||||
|
feature_1_link: "sign up on %{org_name}"
|
||||||
|
feature_2: "All verified users over 16 years old can vote."
|
||||||
|
feature_3: "The results of all votes shall be binding on the government."
|
||||||
faq:
|
faq:
|
||||||
title: "Technical problems?"
|
title: "Technical problems?"
|
||||||
description: "Read the FAQs and solve your questions."
|
description: "Read the FAQs and solve your questions."
|
||||||
|
|||||||
@@ -42,6 +42,13 @@ es:
|
|||||||
feature_4_html: "Al final hay una <strong>fase de votación</strong> donde se decide en cuáles se gasta esa parte del presupuesto."
|
feature_4_html: "Al final hay una <strong>fase de votación</strong> donde se decide en cuáles se gasta esa parte del presupuesto."
|
||||||
image_alt: "Diferentes fases de un presupuesto participativo"
|
image_alt: "Diferentes fases de un presupuesto participativo"
|
||||||
figcaption_html: 'Fase de "Apoyos" y fase de "Votación" de los presupuestos participativos.'
|
figcaption_html: 'Fase de "Apoyos" y fase de "Votación" de los presupuestos participativos.'
|
||||||
|
polls:
|
||||||
|
title: "Votaciones"
|
||||||
|
description: "Las propuestas ciudadanas que alcancen el 1% de apoyos pasarán a votación."
|
||||||
|
feature_1: "Para participar en la próxima votación tienes que %{link} y verificar tu cuenta."
|
||||||
|
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 serán vinculantes para el gobierno."
|
||||||
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."
|
||||||
|
|||||||
Reference in New Issue
Block a user