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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
8ab12abd
Commit
8ab12abd
authored
Feb 15, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve visual appearance
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
187117f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+1
-1
ee/app/views/admin/dashboard/_roles_stats.html.haml
ee/app/views/admin/dashboard/_roles_stats.html.haml
+8
-4
No files found.
app/views/admin/dashboard/index.html.haml
View file @
8ab12abd
...
...
@@ -4,7 +4,6 @@
%div
{
class:
container_class
}
-
if
@license
=
render
"admin/licenses/breakdown"
,
license:
@license
=
render
"admin/dashboard/roles_stats"
.admin-dashboard.prepend-top-default
.row
...
...
@@ -25,6 +24,7 @@
Users:
=
number_with_delimiter
(
User
.
count
)
%hr
=
render
"admin/dashboard/roles_stats"
=
link_to
'New user'
,
new_admin_user_path
,
class:
"btn btn-new"
.col-sm-4
.info-well.dark-well
...
...
ee/app/views/admin/dashboard/_roles_stats.html.haml
View file @
8ab12abd
%div
%p
Admin users:
#{
@admin_count
}
%p
Admin users
%span
.light.pull-right
=
@admin_count
-
@roles_count
.
each
do
|
row
|
-
@roles_count
.
reverse_
each
do
|
row
|
%p
Users with max
#{
row
[
'kind'
]
}
access level:
%strong
Users with highest role
%strong
#{
row
[
'kind'
]
}
%span
.light.pull-right
=
row
[
'amount'
]
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