Reorder gender statistics to match gender image

This commit is contained in:
Bertocq
2017-06-30 23:29:25 +02:00
committed by Javi Martín
parent 1f3bc2c8d9
commit 427781a253

View File

@@ -93,19 +93,6 @@
</div>
<div class="small-12 medium-6 column">
<div class="small-12 medium-6 column text-right">
<p id="male_percentage">
<span class="label" style="background: #FF6600"></span>
&nbsp;<%= t("budgets.stats.total_male_participants").upcase %>
(<%= number_to_percentage(@stats[:male_percentage],
strip_insignificant_zeros: true,
precision: 2) %>)
</p>
<p id="total_male_participants" class="big-number-stat">
<%= @stats[:total_male_participants] %>
</p>
</div>
<div class="small-12 medium-6 column text-left">
<p id="female_percentage">
<span class="label" style="background: #FF9E01"></span>
@@ -118,6 +105,19 @@
<%= @stats[:total_female_participants] %>
</p>
</div>
<div class="small-12 medium-6 column text-right">
<p id="male_percentage">
<span class="label" style="background: #FF6600"></span>
&nbsp;<%= t("budgets.stats.total_male_participants").upcase %>
(<%= number_to_percentage(@stats[:male_percentage],
strip_insignificant_zeros: true,
precision: 2) %>)
</p>
<p id="total_male_participants" class="big-number-stat">
<%= @stats[:total_male_participants] %>
</p>
</div>
</div>
</div>