Commit 4bc2687b authored by Bryce Johnson's avatar Bryce Johnson

Remove new nav refs.

parent 484ca2a4
...@@ -27,11 +27,6 @@ ...@@ -27,11 +27,6 @@
%span %span
Labels Labels
- if EE::Gitlab::ServiceDesk.enabled?(project: @project)
= nav_link(controller: :issues, action: :service_desk ) do
= link_to service_desk_project_issues_path(@project), title: 'Service Desk' do
%span Service Desk
- if project_nav_tab? :milestones - if project_nav_tab? :milestones
= nav_link(controller: :milestones) do = nav_link(controller: :milestones) do
= link_to project_milestones_path(@project), title: 'Milestones' do = link_to project_milestones_path(@project), title: 'Milestones' do
......
...@@ -9,17 +9,15 @@ ...@@ -9,17 +9,15 @@
= webpack_bundle_tag 'service_desk_issues' = webpack_bundle_tag 'service_desk_issues'
= webpack_bundle_tag 'issues' = webpack_bundle_tag 'issues'
- content_for :breadcrumbs_extra do
- if show_new_nav? = render "projects/issues/nav_btns", show_export_button: false, show_rss_button: false
- content_for :breadcrumbs_extra do
= render "projects/issues/nav_btns", show_export_button: false, show_rss_button: false
- support_bot_attrs = User.support_bot.to_json(only: [:id, :name, :username, :avatar_url]) - support_bot_attrs = User.support_bot.to_json(only: [:id, :name, :username, :avatar_url])
%div{ class: "#{container_class} js-service-desk-issues service-desk-issues", data: { support_bot: support_bot_attrs } } %div{ class: "#{container_class} js-service-desk-issues service-desk-issues", data: { support_bot: support_bot_attrs } }
.top-area .top-area
= render 'shared/issuable/nav', type: :issues = render 'shared/issuable/nav', type: :issues
.nav-controls{ class: ("visible-xs" if show_new_nav?) } .nav-controls.visible-xs
= render "projects/issues/nav_btns", show_export_button: false, show_rss_button: false = render "projects/issues/nav_btns", show_export_button: false, show_rss_button: false
= render 'shared/issuable/search_bar', type: :issues = render 'shared/issuable/search_bar', type: :issues
......
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