<commit_before>%nav.navbar.navbar-static-top.navbar-inverse{role: "navigation"}
  .container
    .navbar-header
      %a.navbar-brand(href="/") TimeOverflow

    %ul.nav.navbar-nav
      - if current_user
        - [User, Offer, Inquiry].each do |item|
          - path = send("#{item.to_s.downcase.pluralize}_path")
          %li{class: current_page?(path) && "active"}
            %a{href: path}
              = glyph(item)
              = item.model_name.human(count: :many)

    %ul.nav.navbar-nav.navbar-right
      - if current_user
        %li.dropdown
          %a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"}
            = image_tag avatar_url(current_user), style: "margin: -8px auto"
            = current_user.email
            %b.caret
          %ul.dropdown-menu{role: :menu}
            - if superadmin?
              %li{role: :presentation, "data-no-turbolink" => true}
                = link_to admin_root_path do
                  = glyph(:cog)
                  Admin

            %li{role: :presentation}
              = link_to sessions_path, method: :delete  do
                = glyph("log-out")
                = t "Log out"
            %li.divider{role: :presentation}
            %li{role: :presentation}
              = link_to current_user do<commit_msg>Correct logout path<commit_after>%nav.navbar.navbar-static-top.navbar-inverse{role: "navigation"}
  .container
    .navbar-header
      %a.navbar-brand(href="/") TimeOverflow

    %ul.nav.navbar-nav
      - if current_user
        - [User, Offer, Inquiry].each do |item|
          - path = send("#{item.to_s.downcase.pluralize}_path")
          %li{class: current_page?(path) && "active"}
            %a{href: path}
              = glyph(item)
              = item.model_name.human(count: :many)

    %ul.nav.navbar-nav.navbar-right
      - if current_user
        %li.dropdown
          %a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"}
            = image_tag avatar_url(current_user), style: "margin: -8px auto"
            = current_user.email
            %b.caret
          %ul.dropdown-menu{role: :menu}
            - if superadmin?
              %li{role: :presentation, "data-no-turbolink" => true}
                = link_to admin_root_path do
                  = glyph(:cog)
                  Admin

            %li{role: :presentation}
              = link_to destroy_user_session_path, method: :delete  do
                = glyph("log-out")
                = t "Log out"
            %li.divider{role: :presentation}
            %li{role: :presentation}
              = link_to current_user do
{'fraction_non_alphanumeric': 0.13200306983883345, 'fraction_numerical': 0.0007674597083653108, 'mean_word_length': 1.7355718782791185, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7645323', 'n_tokens_mistral': 835, 'n_tokens_neox': 785, 'n_words': 141}