%nav.navbar.navbar-pf-vertical
  .navbar-header
    %button{:type => "button", :class => "navbar-toggle"}
      %span.sr-only
        = _("Toggle navigation")
      %span.icon-bar
      %span.icon-bar
      %span.icon-bar
    %a.navbar-brand{:href => start_url_for_user(nil), :title => "Go to my start page"}
      %img.navbar-brand-name{:src => image_path("brand.svg"), :alt => "ManageIQ"}
  %nav.collapse.navbar-collapse
    %ul.nav.navbar-nav.navbar-right.navbar-iconic
      %li{:class => "dropdown brand-white-label #{current_tenant.logo? ? "whitelabeled" : ""}"}
      - Menu::Manager.menu(:top_right) do |menu_section|
        - if menu_section.visible?
          %li.dropdown
            %a{:href => "#", :id => "dropdownMenu2", :class => "dropdown-toggle nav-item-iconic", "data-toggle" => "dropdown", "aria-haspopup" => "true", "aria-expanded" => "false"}
              = _(menu_section.name)
              %b.caret
            %ul.dropdown-menu#custom_menu_div
              - menu_section.items.each do |menu_item|
                - if menu_item.visible?
                  %li
                    %a{:href => menu_item.url, :onclick => 'return miqCheckForChanges()'}= _(menu_item.name)

      = render :partial => "layouts/user_options"
  = render :partial => "layouts/spinner"
  = render :partial => "layouts/lightbox_panel"

-# if set by controller, set up to run as JS after onload is done
- if @miq_after_onload
  :javascript
    var miq_after_onload = '#{j @miq_after_onload}';

%nav.navbar.navbar-pf-vertical
  .navbar-header
    %button{:type => "button", :class => "navbar-toggle"}
      %span.sr-only
        = _("Toggle navigation")
      %span.icon-bar
      %span.icon-bar
      %span.icon-bar
    %a.navbar-brand{:href => start_url_for_user(nil), :title => "Go to my start page"}
      %img.navbar-brand-name{:src => image_path("brand.svg"), :alt => "ManageIQ"}
  %nav.collapse.navbar-collapse
    %ul.nav.navbar-nav.navbar-right.navbar-iconic
      %li{:class => "dropdown brand-white-label #{current_tenant.logo? ? "whitelabeled" : ""}"}

      = render :partial => "layouts/user_options"
  = render :partial => "layouts/spinner"
  = render :partial => "layouts/lightbox_panel"

-# if set by controller, set up to run as JS after onload is done
- if @miq_after_onload
  :javascript
    var miq_after_onload = '#{j @miq_after_onload}';

Remove no longer used top-right menu.
Remove no longer used top-right menu.
