Fixed bug in apples stats.

This commit is contained in:
benni 2012-07-22 21:12:53 +02:00
parent 5849473db4
commit dc0d1b3e46

View file

@ -14,7 +14,7 @@ unless global_avg == 0 or global_avg.nan?
%> %>
Engagement Deiner Bestellgruppe Engagement Deiner Bestellgruppe
<div class="stats-bar" style="width:<%= length_of_group_bar -%>px; background-color:<%= color -%>"> <div class="stats-bar" style="width:<%= length_of_group_bar -%>px; background-color:<%= color -%>">
<%= @ordergroup.apples -%><%= " Äpfel" if length_of_group_bar > 50 -%> <%= ordergroup.apples -%><%= " Äpfel" if length_of_group_bar > 50 -%>
</div> </div>
Durchschnittsengagement Durchschnittsengagement
<div class="stats-bar" style="width:<%= length_of_global_bar -%>px"> <div class="stats-bar" style="width:<%= length_of_global_bar -%>px">