Move budget stats translations to stats files
We were using custom translations, but now this code is going to be included in the main CONSUL repository.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<% provide :title do %>
|
||||
<%= t("budgets.stats.page_title", budget: @budget.name) %>
|
||||
<%= t("stats.budgets.page_title", budget: @budget.name) %>
|
||||
<% end %>
|
||||
<% provide :social_media_meta_tags do %>
|
||||
<%= render "shared/social_media_meta_tags",
|
||||
@@ -30,7 +30,7 @@
|
||||
<%= link_to t("budgets.results.link"), budget_results_path(@budget) %>
|
||||
</li>
|
||||
<li class="tabs-title is-active">
|
||||
<%= link_to t("budgets.stats.link"), budget_stats_path(@budget), class: "is-active" %>
|
||||
<%= link_to t("stats.budgets.link"), budget_stats_path(@budget), class: "is-active" %>
|
||||
</li>
|
||||
<li class="tabs-title">
|
||||
<%= link_to t("budgets.executions.link"), budget_executions_path(@budget) %>
|
||||
@@ -99,22 +99,22 @@
|
||||
<table class="stats-districts survey-districts">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" rowspan="2"><%= t("budgets.stats.heading") %></th>
|
||||
<th scope="col" rowspan="2"><%= t("budgets.stats.investments_sent_html") %></th>
|
||||
<th scope="col" colspan="3"><%= t("budgets.stats.participants_support_phase") %></th>
|
||||
<th scope="col" colspan="3"><%= t("budgets.stats.participants_voting_phase") %></th>
|
||||
<th scope="col" colspan="3"><%= t("budgets.stats.participants_total") %></th>
|
||||
<th scope="col" rowspan="2"><%= t("stats.budgets.heading") %></th>
|
||||
<th scope="col" rowspan="2"><%= t("stats.budgets.investments_sent_html") %></th>
|
||||
<th scope="col" colspan="3"><%= t("stats.budgets.participants_support_phase") %></th>
|
||||
<th scope="col" colspan="3"><%= t("stats.budgets.participants_voting_phase") %></th>
|
||||
<th scope="col" colspan="3"><%= t("stats.budgets.participants_total") %></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col" class="tiny"><%= t("budgets.stats.total") %></th>
|
||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_total_participants_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_heading_census_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("budgets.stats.total") %></th>
|
||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_total_participants_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_heading_census_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("budgets.stats.total") %></th>
|
||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_total_participants_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("budgets.stats.percent_heading_census_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("stats.budgets.total") %></th>
|
||||
<th scope="col" class="tiny"><%= t("stats.budgets.percent_total_participants_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("stats.budgets.percent_heading_census_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("stats.budgets.total") %></th>
|
||||
<th scope="col" class="tiny"><%= t("stats.budgets.percent_total_participants_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("stats.budgets.percent_heading_census_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("stats.budgets.total") %></th>
|
||||
<th scope="col" class="tiny"><%= t("stats.budgets.percent_total_participants_html") %></th>
|
||||
<th scope="col" class="tiny"><%= t("stats.budgets.percent_heading_census_html") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="headings">
|
||||
@@ -153,13 +153,13 @@
|
||||
<div class="small-12 column">
|
||||
<div id="total_unknown_gender_or_age">
|
||||
<p class="help-text">
|
||||
<%= t("budgets.stats.no_demographic_data", total: @stats[:total_unknown_gender_or_age]) %>
|
||||
<%= t("stats.budgets.no_demographic_data", total: @stats[:total_unknown_gender_or_age]) %>
|
||||
</p>
|
||||
<p class="help-text">
|
||||
<%= t("budgets.stats.participatory_disclaimer") %>
|
||||
<%= t("stats.budgets.participatory_disclaimer") %>
|
||||
</p>
|
||||
<p class="help-text">
|
||||
<%= t("budgets.stats.heading_disclaimer") %>
|
||||
<%= t("stats.budgets.heading_disclaimer") %>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user