Commit a793c065 authored by vichak's avatar vichak

Fix #8966 Remove Milestones ans Labels from project navbar when Issues disabled

parent d4d0852d
......@@ -44,6 +44,7 @@
%span
Graphs
- if project_nav_tab? :issues
= nav_link(controller: :milestones) do
= link_to namespace_project_milestones_path(@project.namespace, @project), title: 'Milestones' do
%i.fa.fa-clock-o
......@@ -67,6 +68,7 @@
Merge Requests
%span.count.merge_counter= @project.merge_requests.opened.count
- if project_nav_tab? :issues
= nav_link(controller: :labels) do
= link_to namespace_project_labels_path(@project.namespace, @project), title: 'Labels' do
%i.fa.fa-tags
......
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