BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
28 deletions
+33
-28
index.html.haml
app/views/admin/dashboard/index.html.haml
+28
-28
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
...
...
@@ -4,6 +4,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
.well-segment.admin-well.admin-well-statistics
...
...
@@ -136,34 +164,6 @@
%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
.well-segment.admin-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