|
|
|
@@ -21,10 +21,10 @@ |
|
|
|
<td><%= @pre_week_statistic.map(&:pv).sum %></td> |
|
|
|
<td><%= @pre_week_statistic.map(&:visitor).sum %></td> |
|
|
|
<td><%= @pre_week_statistic.map(&:ip).sum %></td> |
|
|
|
<td><%= (@pre_week_statistic.map(&:source_through).sum.to_f / 7).round(2) %></td> |
|
|
|
<td><%= (@pre_week_statistic.map(&:source_link).sum.to_f / 7).round(2) %></td> |
|
|
|
<td><%= (@pre_week_statistic.map(&:source_search).sum.to_f / 7).round(2) %></td> |
|
|
|
<td><%= ((@pre_week_statistic.map(&:source_custom) - [nil]).sum.to_f / 7).round(2) %></td> |
|
|
|
<td><%= (@pre_week_statistic.map(&:source_through).sum.to_f / 7).round(2) %>%</td> |
|
|
|
<td><%= (@pre_week_statistic.map(&:source_link).sum.to_f / 7).round(2) %>%</td> |
|
|
|
<td><%= (@pre_week_statistic.map(&:source_search).sum.to_f / 7).round(2) %>%</td> |
|
|
|
<td><%= ((@pre_week_statistic.map(&:source_custom) - [nil]).sum.to_f / 7).round(2) %>%</td> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<% end %> |
|
|
|
|