<commit_before>%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}';<commit_msg>Remove no longer used top-right menu. (transferred from ManageIQ/manageiq@<PASSWORD>)<commit_after>%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}';
{'fraction_non_alphanumeric': 0.16096579476861167, 'fraction_numerical': 0.00040241448692152917, 'mean_word_length': 3.016155088852989, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '802279', 'n_tokens_mistral': 865, 'n_tokens_neox': 841, 'n_words': 162}