displays total stat count

This commit is contained in:
rgarcia
2015-09-09 14:39:55 +02:00
parent e555126331
commit d7f046bd3b
2 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<h2>Stats</h2>
<div class="small-12 medium-6 column">
<h3>Visits</h3>
<h3>Visits (<%= Visit.count %>) </h3>
<%= visits_chart_tag id: "visits" %>
</div>
@@ -15,7 +15,7 @@
<div class="small-12">
<% @event_types.each do |event_type| %>
<h3><%= event_type.titleize %></h3>
<h3><%= event_type.titleize %> (<%= @debates_created_count %>)</h3>
<%= events_chart_tag event_type %>
<% end %>
</div>