agenda-libre-ruby/app/views/regions/stats.html.haml

43 lines
708 B
Plaintext

%h2=t '.title'
%h3=t '.general'
%table.list
%tr
%td.item=t '.all'
%td.quantity= Event.count()
%tr
%td.item=t '.allModeration'
%td.quantity= Event.unscoped.where(moderated: 0).count()
%h3=t '.regional'
%table.list
- @region_events.each do |region|
%tr
%td.item= region[0]
%td.quantity= region[1]
%h3=t '.city'
%p=t '.city_conditions'
%table.list
- @city_events.each do |city|
%tr
%td.item= city[0]
%td.quantity= city[1]
%h3=t '.dates'
%table.list
- @month_events.each do |month|
%tr
%td.item= l(Date.new(month[0][0], month[0][1]), format: :month).capitalize
%td.quantity= month[1]
%h3=t '.web'
:markdown
#{t '.webalizer'}