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
c0ca6a4b
Commit
c0ca6a4b
authored
Jul 23, 2018
by
Luke Bennett
Committed by
Bob Van Landuyt
Jul 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move instance statistics icon left of admin wrench
parent
1387f9dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+6
-6
No files found.
app/views/layouts/nav/_dashboard.html.haml
View file @
c0ca6a4b
...
...
@@ -64,16 +64,16 @@
=
link_to
'#'
,
class:
'dashboard-shortcuts-web-ide'
,
title:
_
(
'Web IDE'
)
do
=
_
(
'Web IDE'
)
-
if
current_user
.
admin?
||
Gitlab
::
Sherlock
.
enabled?
-
if
Gitlab
::
Sherlock
.
enabled?
||
can?
(
current_user
,
:read_instance_statistics
)
%li
.line-separator.d-none.d-sm-block
-
if
current_user
.
admin?
=
nav_link
(
controller:
'admin/dashboard'
)
do
=
link_to
admin_root_path
,
class:
'admin-icon qa-admin-area-link'
,
title:
_
(
'Admin area'
),
aria:
{
label:
_
(
"Admin area"
)
},
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
sprite_icon
(
'admin'
,
size:
18
)
-
if
can?
(
current_user
,
:read_instance_statistics
)
=
nav_link
(
controller:
[
:conversational_development_index
,
:cohorts
])
do
=
link_to
instance_statistics_root_path
,
title:
'Instance statistics'
,
aria:
{
label:
'Instance statistics'
},
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
sprite_icon
(
'chart'
,
size:
18
)
-
if
current_user
.
admin?
=
nav_link
(
controller:
'admin/dashboard'
)
do
=
link_to
admin_root_path
,
class:
'admin-icon qa-admin-area-link'
,
title:
_
(
'Admin area'
),
aria:
{
label:
"Admin area"
},
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
sprite_icon
(
'admin'
,
size:
18
)
-
if
Gitlab
::
Sherlock
.
enabled?
%li
=
link_to
sherlock_transactions_path
,
class:
'admin-icon'
,
title:
_
(
'Sherlock Transactions'
),
...
...
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