2014-07-21 23:17:11 +02:00
|
|
|
%h2
|
|
|
|
%em.fa.fa-signal
|
|
|
|
= title t '.title'
|
2014-01-05 18:48:32 +01:00
|
|
|
|
2014-07-26 18:27:19 +02:00
|
|
|
%dl
|
|
|
|
%dt=t '.all'
|
2014-07-27 15:49:58 +02:00
|
|
|
%dd.quantity= number_with_delimiter Event.count()
|
2014-01-05 18:48:32 +01:00
|
|
|
|
2014-07-26 18:27:19 +02:00
|
|
|
%dt=t '.allModeration'
|
2014-07-27 15:49:58 +02:00
|
|
|
%dd.quantity= number_with_delimiter Event.unscoped.where(moderated: 0).count()
|
2014-01-05 18:48:32 +01:00
|
|
|
|
|
|
|
%h3=t '.regional'
|
|
|
|
|
2014-07-26 18:27:19 +02:00
|
|
|
%dl
|
2014-05-10 12:06:34 +02:00
|
|
|
- @region_events.each do |region|
|
2014-07-26 18:27:19 +02:00
|
|
|
%dt.item= region[0]
|
2014-07-27 15:49:58 +02:00
|
|
|
%dd.quantity= number_with_delimiter region[1]
|
2014-01-05 18:48:32 +01:00
|
|
|
|
|
|
|
%h3=t '.city'
|
|
|
|
|
2014-05-10 12:06:34 +02:00
|
|
|
%p=t '.city_conditions'
|
2014-01-05 18:48:32 +01:00
|
|
|
|
2014-07-26 18:27:19 +02:00
|
|
|
%dl
|
2014-05-10 12:06:34 +02:00
|
|
|
- @city_events.each do |city|
|
2014-07-26 18:27:19 +02:00
|
|
|
%dt.item= city[0]
|
2014-07-27 15:49:58 +02:00
|
|
|
%dd.quantity= number_with_delimiter city[1]
|
2014-01-05 18:48:32 +01:00
|
|
|
|
|
|
|
%h3=t '.dates'
|
|
|
|
|
2014-07-26 18:27:19 +02:00
|
|
|
%dl
|
2014-05-10 12:06:34 +02:00
|
|
|
- @month_events.each do |month|
|
2014-07-26 18:27:19 +02:00
|
|
|
%dt.item= l(Date.new(month[0][0].to_i, month[0][1].to_i), format: :month).capitalize
|
2014-07-27 15:49:58 +02:00
|
|
|
%dd.quantity= number_with_delimiter month[1]
|
2014-01-05 18:48:32 +01:00
|
|
|
|
|
|
|
%h3=t '.web'
|
|
|
|
|
2014-06-09 20:36:53 +02:00
|
|
|
:markdown
|
|
|
|
#{t '.webalizer'}
|