summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-06-10 06:19:07 +0000
committerThong Kuah <tkuah@gitlab.com>2019-06-10 06:19:07 +0000
commit3017d2a52a3da5dc8e701f442b6d7c65c19cc054 (patch)
tree8f32569c5e0d2e556c2cdb7a672c426038c589dd
parent1f8eeb0b3e8fe16cd85bc6ebe900361b4c72872e (diff)
parentcb4f3d199087b4a53265a624590fb9393b33e837 (diff)
downloadgitlab-ce-3017d2a52a3da5dc8e701f442b6d7c65c19cc054.tar.gz
Merge branch '11396-dependency-list-connect-frontend-to-backend-ce' into 'master'
Add project Dependency List sidebar entry See merge request gitlab-org/gitlab-ce!29189
-rw-r--r--app/views/layouts/nav/sidebar/_project.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/nav/sidebar/_project.html.haml b/app/views/layouts/nav/sidebar/_project.html.haml
index 399305baec1..9b6551552c7 100644
--- a/app/views/layouts/nav/sidebar/_project.html.haml
+++ b/app/views/layouts/nav/sidebar/_project.html.haml
@@ -36,6 +36,8 @@
= render_if_exists 'projects/sidebar/security_dashboard'
+ = render_if_exists 'projects/sidebar/dependencies'
+
- if can?(current_user, :read_cycle_analytics, @project)
= nav_link(path: 'cycle_analytics#show') do
= link_to project_cycle_analytics_path(@project), title: _('Cycle Analytics'), class: 'shortcuts-project-cycle-analytics' do