weekly_user_stats.haml 588 Bytes
Newer Older
1
.container
2 3 4 5 6 7
  .row
    .col-md-3
      = render partial: "admins/admin_bar"
    .col-md-9
      %h2
        = t('.current_server', date: Time.now.to_date)
8

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

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