Use new design for advanced budget stats

This commit is contained in:
Javi Martín
2019-01-11 20:14:37 +01:00
parent 6ad3bc063c
commit 2d7b8bc8df
3 changed files with 14 additions and 15 deletions

View File

@@ -49,7 +49,7 @@
<%= link_to t("stats.budgets.total_investments"), "#total_investments"%>
</li>
<li>
<%= link_to t("stats.budgets.total_participants_support_phase"), "#stats_by_phase"%>
<%= link_to t("stats.budgets.by_phase"), "#stats_by_phase"%>
</li>
<li>
<%= link_to t("stats.budgets.by_heading"), "#stats_by_heading"%>
@@ -72,15 +72,14 @@
html_class: "total-investments"
) %>
<%= number_with_info_tags(@stats[:total_selected_investments],
t("stats.budgets.total_selected_investments")) %>
<%= number_with_info_tags(@stats[:total_unfeasible_investments],
t("stats.budgets.total_unfeasible_investments")) %>
<%= number_with_info_tags(@stats[:total_selected_investments],
t("stats.budgets.total_selected_investments")) %>
</div>
<div id="stats_by_phase" class="stats-group">
<h4><%= t("stats.budgets.total_participants_support_phase") %></h4>
<h4><%= t("stats.budgets.by_phase") %></h4>
<%= number_with_info_tags(@stats[:total_participants_support_phase],
t("stats.budgets.participants")) %>

View File

@@ -19,15 +19,15 @@ en:
budgets:
link: "Stats"
page_title: "%{budget} - Participation stats"
total_investments: "Total proposed investments"
total_selected_investments: "Proposals on final phase"
total_unfeasible_investments: "Unfeasible proposals"
total_participants_support_phase: "Support phase"
total_investments: "Total investment projects"
total_selected_investments: "Projects in final voting phase"
total_unfeasible_investments: "Unfeasible projects"
by_phase: "Participants by phase"
total_participants_web: "Vote phase web participants"
total_participants_booths: "Vote phase booth participants"
participants: "Participants"
supports: "Supports"
by_heading: "Participants by heading"
by_heading: "Participants by phase and heading"
total: "Total"
heading: "Heading"
investments_sent_html: "Investment proposals sent"

View File

@@ -19,15 +19,15 @@ es:
budgets:
link: "Estadísticas"
page_title: "%{budget} - Estadísticas de participación"
total_investments: "Total propuestas enviadas"
total_selected_investments: "Propuestas en la fase final"
total_unfeasible_investments: "Propuestas inviables"
total_participants_support_phase: "Fase de apoyos"
total_investments: "Total proyectos de gasto"
total_selected_investments: "Proyectos en la fase final"
total_unfeasible_investments: "Proyectos inviables"
by_phase: "Participación por fases"
total_participants_web: "Participantes web en votación final"
total_participants_booths: "Participantes en urnas votación final"
participants: "Participantes"
supports: "Apoyos"
by_heading: "Participación por distritos"
by_heading: "Participación por distritos y fase"
total: "Total"
heading: "Distrito"
investments_sent_html: "Propuestas<br>enviadas"