Commit 56430fb9 authored by Paul Slaughter's avatar Paul Slaughter Committed by Chad Woolley

Use combined_menu feature flag

- Scoped to user
parent dc71bc15
...@@ -19,10 +19,13 @@ ...@@ -19,10 +19,13 @@
%span.gl-badge.gl-bg-green-500.gl-text-white.gl-rounded-pill.gl-font-weight-bold.gl-py-1 %span.gl-badge.gl-bg-green-500.gl-text-white.gl-rounded-pill.gl-font-weight-bold.gl-py-1
= _('Next') = _('Next')
- if current_user - if Feature.enabled?(:combined_menu, current_user, default_enabled: :yaml)
= render "layouts/nav/dashboard" = render "layouts/nav/combined_menu"
- else - else
= render "layouts/nav/explore" - if current_user
= render "layouts/nav/dashboard"
- else
= render "layouts/nav/explore"
.navbar-collapse.collapse .navbar-collapse.collapse
%ul.nav.navbar-nav %ul.nav.navbar-nav
......
%button{ type: 'button', data: { toggle: "dropdown" } }
= sprite_icon('ellipsis_v')
= _('Projects')
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