Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
bb7be246
Commit
bb7be246
authored
Mar 08, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show active users(non-blocked) on admin dashboard
parent
8b551ee3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+4
-4
No files found.
app/views/admin/dashboard/index.html.haml
View file @
bb7be246
...
...
@@ -32,9 +32,9 @@
%span
.light.pull-right
=
Milestone
.
count
%p
Users
who signed in during last 30 days
Users
%span
.light.pull-right
=
User
.
where
(
"current_sign_in_at > ?"
,
30
.
days
.
ago
).
count
=
User
.
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
Users
%h4
Active
Users
.data
=
link_to
admin_users_path
do
%h1
=
User
.
count
%h1
=
User
.
active
.
count
%hr
=
link_to
'New User'
,
new_admin_user_path
,
class:
"btn btn-new"
.col-sm-4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment