Commit cb4f3d19 authored by Mark Florian's avatar Mark Florian

Add project Dependency List sidebar entry

This is a CE port of
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13968.
parent 11bb3b53
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
= render_if_exists 'projects/sidebar/security_dashboard' = render_if_exists 'projects/sidebar/security_dashboard'
= render_if_exists 'projects/sidebar/dependencies'
- if can?(current_user, :read_cycle_analytics, @project) - if can?(current_user, :read_cycle_analytics, @project)
= nav_link(path: 'cycle_analytics#show') do = nav_link(path: 'cycle_analytics#show') do
= link_to project_cycle_analytics_path(@project), title: _('Cycle Analytics'), class: 'shortcuts-project-cycle-analytics' do = link_to project_cycle_analytics_path(@project), title: _('Cycle Analytics'), class: 'shortcuts-project-cycle-analytics' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment