Commit 97f9b369 authored by Bryce Johnson's avatar Bryce Johnson

Move Service Desk nav item above Milestones.

parent 7c036a1d
...@@ -133,16 +133,16 @@ ...@@ -133,16 +133,16 @@
%span %span
Labels Labels
= nav_link(controller: :milestones) do
= link_to project_milestones_path(@project), title: 'Milestones' do
%span
Milestones
- if EE::Gitlab::ServiceDesk.enabled?(project: @project) - if EE::Gitlab::ServiceDesk.enabled?(project: @project)
= nav_link(controller: [ :issues, :service_desk ]) do = nav_link(controller: [ :issues, :service_desk ]) do
= link_to service_desk_project_issues_url(@project), title: 'Service Desk' do = link_to service_desk_project_issues_url(@project), title: 'Service Desk' do
%span Service Desk %span Service Desk
= nav_link(controller: :milestones) do
= link_to project_milestones_path(@project), title: 'Milestones' do
%span
Milestones
- if project_nav_tab? :merge_requests - if project_nav_tab? :merge_requests
= nav_link(controller: @project.issues_enabled? ? :merge_requests : [:merge_requests, :labels, :milestones]) do = nav_link(controller: @project.issues_enabled? ? :merge_requests : [:merge_requests, :labels, :milestones]) do
= sidebar_link project_merge_requests_path(@project), title: _('Merge Requests'), css: 'shortcuts-merge_requests' do = sidebar_link project_merge_requests_path(@project), title: _('Merge Requests'), css: 'shortcuts-merge_requests' 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