<commit_before>%header.navbar.navbar-gitlab{ class: nav_header_class }
  .navbar-border
  %a.sr-only.gl-accessibility{ href: "#content-body", tabindex: "1" } Skip to content
  .container-fluid
    .header-content
      .dropdown.global-dropdown
        %button.global-dropdown-toggle{ type: 'button', 'data-toggle' => 'dropdown' }
          %span.sr-only Toggle navigation
          = icon('bars')
        .dropdown-menu-nav.global-dropdown-menu
          - if current_user
            = render 'layouts/nav/dashboard'
          - else
            = render 'layouts/nav/explore'

      .header-logo
        = link_to root_path, class: 'home', title: 'Dashboard', id: 'logo' do
          = brand_header_logo

      .title-container
        %h1.title{ class: ('initializing' if @has_group_title) }= title

      .navbar-collapse.collapse
        %ul.nav.navbar-nav
          %li.hidden-sm.hidden-xs
            = render 'layouts/search' unless current_controller?(:search)
          %li.visible-sm-inline-block.visible-xs-inline-block
            = link_to search_path, title: 'Search', aria: { label: "Search" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
              = icon('search')
          - if current_user
            - if session[:impersonator_id]
              %li.impersonation
                = link_to admin_impersonation_path, method: :delete, title: "Stop impersonation", aria: { label: 'Stop impersonation' }, data: { toggle: 'tooltip', placement: 'bottom', container: 'body' } do
                  = icon('user-secret fw')
            - if current_user.admin?
              %li
                = link_to admin_root_path, title: 'Admin area', aria: { label: "Admin area" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
                  = icon('wrench fw')
            %li.header-new.dropdown
              = link_to new_project_path, class: "header-new-dropdown-toggle", aria: { label: "New&hellip;" } , data: { toggle: 'dropdown', placement: 'bottom', container: 'body' } do
                = icon('plus fw')
                = icon('caret-down')
              .dropdown-menu-nav.dropdown-menu-align-right
                %ul
                  
                  - if @group && (can?(current_user, :create_projects, @group) || can?(current_user, :create_subgroup, @group))
                    %li
                      .bold This group
                    - if can?(current_user, :create_projects, @group)
                      %li
                        = link_to 'New project', new_project_path(namespace_id: @group.id), aria: { label: "New project" }
                    - if can?(current_user, :create_subgroup, @group)
                      %li
                        = link_to 'New subgroup', new_group_path(parent_id: @group.id), aria: { label: "New subgroup" }
                  - if @project
                    %li
                      .bold This project
                    %li
                      = link_to 'New issue', new_namespace_project_issue_path(@project.namespace, @project), aria: { label: "New issue" }
                    - merge_project = can?(current_user, :create_merge_request, @project) ? @project : (current_user && current_user.fork_of(@project))
                    - if merge_project
                      %li
                        = link_to 'New merge request', new_namespace_project_merge_request_path(merge_project.namespace, merge_project), aria: { label: "New merge request" }<commit_msg>Enabled Tooltips<commit_after>%header.navbar.navbar-gitlab{ class: nav_header_class }
  .navbar-border
  %a.sr-only.gl-accessibility{ href: "#content-body", tabindex: "1" } Skip to content
  .container-fluid
    .header-content
      .dropdown.global-dropdown
        %button.global-dropdown-toggle{ type: 'button', 'data-toggle' => 'dropdown' }
          %span.sr-only Toggle navigation
          = icon('bars')
        .dropdown-menu-nav.global-dropdown-menu
          - if current_user
            = render 'layouts/nav/dashboard'
          - else
            = render 'layouts/nav/explore'

      .header-logo
        = link_to root_path, class: 'home', title: 'Dashboard', id: 'logo' do
          = brand_header_logo

      .title-container
        %h1.title{ class: ('initializing' if @has_group_title) }= title

      .navbar-collapse.collapse
        %ul.nav.navbar-nav
          %li.hidden-sm.hidden-xs
            = render 'layouts/search' unless current_controller?(:search)
          %li.visible-sm-inline-block.visible-xs-inline-block
            = link_to search_path, title: 'Search', aria: { label: "Search" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
              = icon('search')
          - if current_user
            - if session[:impersonator_id]
              %li.impersonation
                = link_to admin_impersonation_path, method: :delete, title: "Stop impersonation", aria: { label: 'Stop impersonation' }, data: { toggle: 'tooltip', placement: 'bottom', container: 'body' } do
                  = icon('user-secret fw')
            - if current_user.admin?
              %li
                = link_to admin_root_path, title: 'Admin area', aria: { label: "Admin area" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
                  = icon('wrench fw')
            %li.header-new.dropdown
              = link_to new_project_path, class: "header-new-dropdown-toggle has-tooltip", title: "New...", ref: 'tooltip', aria: { label: "New..." }, data: { toggle: 'dropdown', placement: 'bottom', container: 'body' } do
                = icon('plus fw')
                = icon('caret-down')
              .dropdown-menu-nav.dropdown-menu-align-right
                %ul
                  
                  - if @group && (can?(current_user, :create_projects, @group) || can?(current_user, :create_subgroup, @group))
                    %li
                      .bold This group
                    - if can?(current_user, :create_projects, @group)
                      %li
                        = link_to 'New project', new_project_path(namespace_id: @group.id), aria: { label: "New project" }
                    - if can?(current_user, :create_subgroup, @group)
                      %li
                        = link_to 'New subgroup', new_group_path(parent_id: @group.id), aria: { label: "New subgroup" }
                  - if @project
                    %li
                      .bold This project
                    %li
                      = link_to 'New issue', new_namespace_project_issue_path(@project.namespace, @project), aria: { label: "New issue" }
                    - merge_project = can?(current_user, :create_merge_request, @project) ? @project : (current_user && current_user.fork_of(@project))
                    - if merge_project
                      %li
                        = link_to 'New merge request', new_namespace_project_merge_request_path(merge_project.namespace, merge_project), aria: { label: "New merge request" }
{'fraction_non_alphanumeric': 0.12542613636363636, 'fraction_numerical': 0.0005681818181818182, 'mean_word_length': 1.9203649937785152, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4218552', 'n_tokens_mistral': 2006, 'n_tokens_neox': 1945, 'n_words': 446}