summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGitLab <gitlab@localhost>2014-04-15 10:23:37 +0200
committerGitLab <gitlab@localhost>2014-04-15 10:23:37 +0200
commitb0114867311652e32868e8f48b9c268a712367bf (patch)
tree9c4a18534870f07163d2bbc5b20c8b8048bc13b8 /app/views
parent0d3ba71bcb92218585988ca1b9f863a796d6e168 (diff)
downloadgitlab-ce-b0114867311652e32868e8f48b9c268a712367bf.tar.gz
Add monthly active users to the admin dashboard.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/dashboard/index.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index bbd60bc6224..41760f8b1e3 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -93,6 +93,10 @@
Milestones
%span.light.pull-right
= Milestone.count
+ %p
+ Monthly active users
+ %span.light.pull-right
+ = User.where("current_sign_in_at > ?", 30.days.ago).count
.col-md-4
%h4
Features