Merge branch 'pre_trustie_server' into trustie_server

This commit is contained in:
xxq250 2024-01-22 13:03:54 +08:00
commit 7a57108ca5
1 changed files with 4 additions and 4 deletions

View File

@ -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 %>