weekly_user_stats.haml 496 Bytes
Newer Older
1

2 3 4 5 6
%div
  = render :partial => 'admins/admin_bar'

%h2
  = t('.current_server', date: Time.now.to_date)
7

8 9
%div.pull-right
  = form_tag('/admins/weekly_user_stats', method: 'get', class: 'form-inline') do
10
    = select_tag(:week, options_for_select(@created_users_by_week.keys.reverse), selected: @selected_week)
11
    = submit_tag t('admins.stats.go'), class: 'btn btn-primary'
12

Fabian Rodriguez's avatar
Fabian Rodriguez committed
13
= t('.amount_of', count: @counter)
14
%br
Fabian Rodriguez's avatar
Fabian Rodriguez committed
15
- @created_users_by_week[@selected_week].each do |m|
16 17
  = link_to m, "/u/#{m}"
  %br