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
ae294641
Commit
ae294641
authored
Jan 12, 2018
by
Kushal Pandya
Committed by
Annabel Dunstone Gray
Jan 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move row containing Projects, Users and Groups count to the top
parent
214cf9c2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
28 deletions
+33
-28
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+28
-28
changelogs/unreleased/40492-update-admin-dashboard-content-order.yml
...unreleased/40492-update-admin-dashboard-content-order.yml
+5
-0
No files found.
app/views/admin/dashboard/index.html.haml
View file @
ae294641
...
...
@@ -3,6 +3,34 @@
%div
{
class:
container_class
}
.admin-dashboard.prepend-top-default
.row
.col-sm-4
.info-well.dark-well
.well-segment.well-centered
=
link_to
admin_projects_path
do
%h3
.text-center
Projects:
=
number_with_delimiter
(
Project
.
cached_count
)
%hr
=
link_to
(
'New project'
,
new_project_path
,
class:
"btn btn-new"
)
.col-sm-4
.info-well.dark-well
.well-segment.well-centered
=
link_to
admin_users_path
do
%h3
.text-center
Users:
=
number_with_delimiter
(
User
.
count
)
%hr
=
link_to
'New user'
,
new_admin_user_path
,
class:
"btn btn-new"
.col-sm-4
.info-well.dark-well
.well-segment.well-centered
=
link_to
admin_groups_path
do
%h3
.text-center
Groups:
=
number_with_delimiter
(
Group
.
count
)
%hr
=
link_to
'New group'
,
new_admin_group_path
,
class:
"btn btn-new"
.row
.col-md-4
.info-well
...
...
@@ -135,34 +163,6 @@
=
Gitlab
::
Database
.
adapter_name
%span
.pull-right
=
Gitlab
::
Database
.
version
.row
.col-sm-4
.info-well.dark-well
.well-segment.well-centered
=
link_to
admin_projects_path
do
%h3
.text-center
Projects:
=
number_with_delimiter
(
Project
.
cached_count
)
%hr
=
link_to
(
'New project'
,
new_project_path
,
class:
"btn btn-new"
)
.col-sm-4
.info-well.dark-well
.well-segment.well-centered
=
link_to
admin_users_path
do
%h3
.text-center
Users:
=
number_with_delimiter
(
User
.
count
)
%hr
=
link_to
'New user'
,
new_admin_user_path
,
class:
"btn btn-new"
.col-sm-4
.info-well.dark-well
.well-segment.well-centered
=
link_to
admin_groups_path
do
%h3
.text-center
Groups:
=
number_with_delimiter
(
Group
.
count
)
%hr
=
link_to
'New group'
,
new_admin_group_path
,
class:
"btn btn-new"
.row
.col-md-4
.info-well
...
...
changelogs/unreleased/40492-update-admin-dashboard-content-order.yml
0 → 100644
View file @
ae294641
---
title
:
Move row containing Projects, Users and Groups count to the top in admin dashboard
merge_request
:
16421
author
:
type
:
changed
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