Commit 205a0775 authored by Bryce Johnson's avatar Bryce Johnson

Only show nav_link if service desk has been activated for project.

parent 826566a0
...@@ -138,6 +138,7 @@ ...@@ -138,6 +138,7 @@
%span %span
Milestones Milestones
- if @project.service_desk_enabled?
= 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
......
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