Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-09 06:45:03 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-09 06:45:03 +0300
commitbb9560a35a7860e6de44c51b6d2300f3ee1e27ae (patch)
tree0565c6a87c65804e72775fc9905d1411e53e1a80 /app/views/admin
parentbb7be246f6928368d0bdadfb7a3258d610d48252 (diff)
Show total user count on dashboard page
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/dashboard/index.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index 34e4e336261..d1c586328a2 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -32,9 +32,9 @@
%span.light.pull-right
= Milestone.count
%p
- Users
+ Active Users
%span.light.pull-right
- = User.count
+ = User.active.count
.col-md-4
%h4
Features
@@ -91,10 +91,10 @@
= link_to('New Project', new_project_path, class: "btn btn-new")
.col-sm-4
.light-well
- %h4 Active Users
+ %h4 Users
.data
= link_to admin_users_path do
- %h1= User.active.count
+ %h1= User.count
%hr
= link_to 'New User', new_admin_user_path, class: "btn btn-new"
.col-sm-4