Sha256: 5e7fb2dd35a697b3275de70b93a99c7301927ca4b50cd04f9d7eea330568478c

Contents?: true

Size: 1.34 KB

Versions: 8

Compression:

Stored size: 1.34 KB

Contents

.yui-b.sidebar= render :partial => 'shared/admin_nav'

#yui-main
  -box :class => "yui-b main_column" do
    %h3= :statistics.l

    %h3
      = :total_users.l+":"
      = @total_users

    %h3
      = :unactivated_users.l+":"
      = @unactivated_users
    %h3
      = :new_today.l+":"
      = @today_new_users.size
    %ul
      - @today_new_users.each do |user|
        %li= link_to user.login, user_path(user)

    %h3
      = :new_yesterday.l+":"
      = @yesterday_new_users.size
    %ul
      - @yesterday_new_users.each do |user|
        %li= link_to user.login, user_path(user)

    %h3
      = :active.l+":"
      = pluralize @active_users_count, :user.l
      (
      = number_to_percentage((@active_users_count/@total_users.to_f)*100, :precision => 1)
      =", 1 "+:month.l+")"
    %h3
      = :most_active_1_month.l
    %ul
      - @active_users.each do |user|
        %li
          = link_to user.login, user_path(user.id)
          \(
          = user.activities_count
          \)

    %h3
      \% Reporting ZIP:
      = number_to_percentage @percent_reporting_zip, :precision => 1
    %h3
      =:male.l+":"
      = number_to_percentage @percent_male
      =", "+:female.l+":"
      = number_to_percentage @percent_female
    %h3
      = :featured_writer.l
    %ul
      - @featured_writers.each do |w|
        %li= link_to w.login, statistics_user_path(w)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/statistics/index.html.haml
community_engine-2.3.1 app/views/statistics/index.html.haml
community_engine-2.3.0 app/views/statistics/index.html.haml
community_engine-2.1.0 app/views/statistics/index.html.haml
community_engine-2.0.0 app/views/statistics/index.html.haml
community_engine-2.0.0.beta3 app/views/statistics/index.html.haml
community_engine-2.0.0.beta2 app/views/statistics/index.html.haml
community_engine-2.0.0.beta1 app/views/statistics/index.html.haml