weekly_user_stats.haml 444 Bytes
Newer Older
1
.span-24
Fabian Rodriguez's avatar
Fabian Rodriguez committed
2
  = render partial: 'admins/admin_bar'
3 4 5 6
%br
%br

.span-24.last
David Morley's avatar
David Morley committed
7
  %h2
Fabian Rodriguez's avatar
Fabian Rodriguez committed
8
    = t('.current_server', date: Time.now.to_date)
9

Fabian Rodriguez's avatar
Fabian Rodriguez committed
10 11
= form_tag('/admins/weekly_user_stats', method: 'get') do
  = select_tag(:week, options_for_select(@created_users_by_week.keys), selected: @selected_week)
12
  = submit_tag t('admins.stats.go')
13

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