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
c4b109b2
Commit
c4b109b2
authored
Sep 21, 2016
by
Timothy Andrew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display the cycle analytics navbar based on the `:read_cycle_analytics` ability.
parent
6df2d573
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/projects/pipelines/_head.html.haml
app/views/projects/pipelines/_head.html.haml
+1
-1
No files found.
app/views/projects/pipelines/_head.html.haml
View file @
c4b109b2
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
%span
%span
Environments
Environments
-
if
c
urrent_user
-
if
c
an?
(
current_user
,
:read_cycle_analytics
,
@project
)
=
nav_link
(
controller:
%w(cycle_analytics)
)
do
=
nav_link
(
controller:
%w(cycle_analytics)
)
do
=
link_to
project_cycle_analytics_path
(
@project
),
title:
'Cycle Analytics'
do
=
link_to
project_cycle_analytics_path
(
@project
),
title:
'Cycle Analytics'
do
%span
%span
...
...
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