<commit_before>!!!
%html
  %head
    %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
    %title Git Heroes
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    = javascript_include_tag 'https://www.google.com/jsapi', 'chartkick'
    = javascript_include_tag '//d3js.org/d3.v2.min.js'
    = csrf_meta_tags
  %body
    -# admin navbar
    - if current_user&.admin?
      %nav.navbar.navbar-full.navbar-dark.bg-danger.navbar--admin
        .container
          %ul.nav.navbar-nav
            %li.nav-item= link_to 'Users', admin_users_path, class: 'nav-link'
            %li.nav-item= link_to 'Organisations', admin_organisations_path, class: 'nav-link'
            %li.nav-item= link_to 'Jobs', admin_jobs_path, class: 'nav-link'

    %nav.navbar.navbar-full.navbar-dark.bg-inverse
      .container
        %ul.nav.navbar-nav
          %li.nav-item
            = link_to 'Git Heroes', root_path, class: 'nav-link'

          %li.nav-item
            - if org = current_organisation
              .dropdown
                %a.nav-link.dropdown-toggle#teamDropdown{ 'data-toggle': 'dropdown', class: ('disabled' unless current_user) }
                  Team
                .dropdown-menu{ 'aria-labelledby': 'teamDropdown' }
                  - org.teams.enabled.sort_by(&:name).each do |team|
                    = link_to team.name, [org, team], class: 'dropdown-item'
                  .dropdown-divider
                  = link_to 'Configure', [org, Team], class: 'dropdown-item'
            - else
              .dropdown
                %a.nav-link.dropdown-toggle.disabled#teamDropdown{ 'data-toggle': 'dropdown' }
                  Team

          - [['Repositories', Repository], ['Members', User]].each do |title, target|
            %li.nav-item
              - if current_organisation
                = link_to title, [current_organisation, target], class: 'nav-link'<commit_msg>Pops a sticky tab for the Sidekiq dashboard<commit_after>!!!
%html
  %head
    %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
    %title Git Heroes
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    = javascript_include_tag 'https://www.google.com/jsapi', 'chartkick'
    = javascript_include_tag '//d3js.org/d3.v2.min.js'
    = csrf_meta_tags
  %body
    -# admin navbar
    - if current_user&.admin?
      %nav.navbar.navbar-full.navbar-dark.bg-danger.navbar--admin
        .container
          %ul.nav.navbar-nav
            %li.nav-item= link_to 'Users', admin_users_path, class: 'nav-link'
            %li.nav-item= link_to 'Organisations', admin_organisations_path, class: 'nav-link'
            %li.nav-item= link_to 'Jobs', admin_jobs_path, class: 'nav-link', target: '_githeroes_jobs'

    %nav.navbar.navbar-full.navbar-dark.bg-inverse
      .container
        %ul.nav.navbar-nav
          %li.nav-item
            = link_to 'Git Heroes', root_path, class: 'nav-link'

          %li.nav-item
            - if org = current_organisation
              .dropdown
                %a.nav-link.dropdown-toggle#teamDropdown{ 'data-toggle': 'dropdown', class: ('disabled' unless current_user) }
                  Team
                .dropdown-menu{ 'aria-labelledby': 'teamDropdown' }
                  - org.teams.enabled.sort_by(&:name).each do |team|
                    = link_to team.name, [org, team], class: 'dropdown-item'
                  .dropdown-divider
                  = link_to 'Configure', [org, Team], class: 'dropdown-item'
            - else
              .dropdown
                %a.nav-link.dropdown-toggle.disabled#teamDropdown{ 'data-toggle': 'dropdown' }
                  Team

          - [['Repositories', Repository], ['Members', User]].each do |title, target|
            %li.nav-item
              - if current_organisation
                = link_to title, [current_organisation, target], class: 'nav-link'
{'fraction_non_alphanumeric': 0.13804795349963672, 'fraction_numerical': 0.0019375151368370065, 'mean_word_length': 2.128787878787879, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '5310766', 'n_tokens_mistral': 1355, 'n_tokens_neox': 1275, 'n_words': 242}