moves graphs to individual views
This commit is contained in:
4
app/views/admin/stats/_graph.html.erb
Normal file
4
app/views/admin/stats/_graph.html.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<div id="graph" class="small-12 column">
|
||||
<h2><%= t "admin.stats.graph.#{name || event}" %>(<%= count %>)</h2>
|
||||
<%= chart_tag id: name, event: event %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user