<commit_before>-#- if user_signed_in?
-#  .menu-item.username>
-#    .menu-item-username
-#      = "#{current_user.firstname}"
-#      .circle
-#        %img{:src => "https://www.gravatar.com/avatar/#{Digest::MD5.hexdigest(current_user.email)}?d=404&s=50",onerror:"this.style.display='none'"}
-#          ="#{current_user.firstname.first.upcase}"
-#    %ul.userblock
-#      .menu-item-drop
-#        =link_to t('layout.menu.profile'), user_path(current_user), class: "menu-a-drop"
-#      .menu-item-drop
-#        =link_to t('layout.menu.disconnect'), destroy_user_session_path, :method => :delete, class: "menu-a-drop"
-#- else
-#  .menu-item.with_button>
-#    = link_to t('layout.menu.connect'), new_user_session_path, :class =>"bouton bouton_bleu"
- if user_signed_in?
  %li
    %a.dropdown-button{"data-activates" => "dropdown1-user-widget", "constrain-width" => "false", "data-beloworigin"=>"true", :href => "#!"}
      %span
        = "#{current_user.firstname}"
        .circle
          %img{:src => "https://www.gravatar.com/avatar/#{Digest::MD5.hexdigest(current_user.email)}?d=404&s=50",onerror:"this.style.display='none'"}
            ="#{current_user.firstname.first.upcase}"
        %i.zmdi.zmdi-carret-down.material-icons.right

    %ul#dropdown1-user-widget.dropdown-content
      %li
        =link_to user_path(current_user), class: "menu-a-drop" do
          =t('layout.menu.profile')
      %li
        =link_to t('layout.menu.disconnect'), destroy_user_session_path, :method => :delete
-else
  %li
    = link_to t('layout.menu.connect'), new_user_session_path, :class =>"waves-effect waves-light btn"<commit_msg>:lipstick: :construction: fix profil menu<commit_after>-#- if user_signed_in?
-#  .menu-item.username>
-#    .menu-item-username
-#      = "#{current_user.firstname}"
-#      .circle
-#        %img{:src => "https://www.gravatar.com/avatar/#{Digest::MD5.hexdigest(current_user.email)}?d=404&s=50",onerror:"this.style.display='none'"}
-#          ="#{current_user.firstname.first.upcase}"
-#    %ul.userblock
-#      .menu-item-drop
-#        =link_to t('layout.menu.profile'), user_path(current_user), class: "menu-a-drop"
-#      .menu-item-drop
-#        =link_to t('layout.menu.disconnect'), destroy_user_session_path, :method => :delete, class: "menu-a-drop"
-#- else
-#  .menu-item.with_button>
-#    = link_to t('layout.menu.connect'), new_user_session_path, :class =>"bouton bouton_bleu"
- if user_signed_in?
  %li
    %a.dropdown-button{"data-activates" => "dropdown1-user-widget", "data-constrainwidth"=>"false", "data-beloworigin"=>"true", :href => "#!"}
      %span
        = "#{current_user.firstname}"
        .circle
          %img{:src => "https://www.gravatar.com/avatar/#{Digest::MD5.hexdigest(current_user.email)}?d=404&s=50",onerror:"this.style.display='none'"}
            ="#{current_user.firstname.first.upcase}"
        %i.zmdi.zmdi-carret-down.material-icons.right

    %ul#dropdown1-user-widget.dropdown-content
      %li
        =link_to user_path(current_user), class: "menu-a-drop" do
          =t('layout.menu.profile')
      %li
        =link_to t('layout.menu.disconnect'), destroy_user_session_path, :method => :delete
-else
  %li
    = link_to t('layout.menu.connect'), new_user_session_path, :class =>"waves-effect waves-light btn"
{'fraction_non_alphanumeric': 0.19345057610673136, 'fraction_numerical': 0.008489993935718617, 'mean_word_length': 3.4520917678812415, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '3734391', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1204, 'n_words': 146}