|
|
|
@ -4,17 +4,17 @@
|
|
|
|
|
|
|
|
|
|
%dl
|
|
|
|
|
%dt=t '.all'
|
|
|
|
|
%dd.quantity= Event.count()
|
|
|
|
|
%dd.quantity= number_with_delimiter Event.count()
|
|
|
|
|
|
|
|
|
|
%dt=t '.allModeration'
|
|
|
|
|
%dd.quantity= Event.unscoped.where(moderated: 0).count()
|
|
|
|
|
%dd.quantity= number_with_delimiter Event.unscoped.where(moderated: 0).count()
|
|
|
|
|
|
|
|
|
|
%h3=t '.regional'
|
|
|
|
|
|
|
|
|
|
%dl
|
|
|
|
|
- @region_events.each do |region|
|
|
|
|
|
%dt.item= region[0]
|
|
|
|
|
%dd.quantity= region[1]
|
|
|
|
|
%dd.quantity= number_with_delimiter region[1]
|
|
|
|
|
|
|
|
|
|
%h3=t '.city'
|
|
|
|
|
|
|
|
|
@ -23,14 +23,14 @@
|
|
|
|
|
%dl
|
|
|
|
|
- @city_events.each do |city|
|
|
|
|
|
%dt.item= city[0]
|
|
|
|
|
%dd.quantity= city[1]
|
|
|
|
|
%dd.quantity= number_with_delimiter city[1]
|
|
|
|
|
|
|
|
|
|
%h3=t '.dates'
|
|
|
|
|
|
|
|
|
|
%dl
|
|
|
|
|
- @month_events.each do |month|
|
|
|
|
|
%dt.item= l(Date.new(month[0][0].to_i, month[0][1].to_i), format: :month).capitalize
|
|
|
|
|
%dd.quantity= month[1]
|
|
|
|
|
%dd.quantity= number_with_delimiter month[1]
|
|
|
|
|
|
|
|
|
|
%h3=t '.web'
|
|
|
|
|
|
|
|
|
|