<commit_before>- if discourse_configured?
  %li
    %a{href: discourse_login_path, target: '_blank'}
      %span.nav-primary
        = t 'label_notices'

%li.has-dropdown.not-click
  
  %a{href: "#"} 
    %i.ofn-i_022-cog
  
  %ul.dropdown
    
    - if admin_user? or enterprise_user?
      %li
        %a{href: spree.admin_path, target:'_blank'} 
          %i.ofn-i_021-tools
          = t 'label_administration'

    %li
      %a{href: spree.account_path}
        %i.ofn-i_015-user
        = t 'label_account'
        = "(" + spree_current_user.email + ")"
    
    %li
      %a{title: t('label_logout'), href:'/logout' } 
        %i.ofn-i_018-unlocked
        = t 'label_logout'
<commit_msg>Explicitly referencing main_app.discourse_login_path<commit_after>- if discourse_configured?
  %li
    %a{href: main_app.discourse_login_path, target: '_blank'}
      %span.nav-primary
        = t 'label_notices'

%li.has-dropdown.not-click
  
  %a{href: "#"} 
    %i.ofn-i_022-cog
  
  %ul.dropdown
    
    - if admin_user? or enterprise_user?
      %li
        %a{href: spree.admin_path, target:'_blank'} 
          %i.ofn-i_021-tools
          = t 'label_administration'

    %li
      %a{href: spree.account_path}
        %i.ofn-i_015-user
        = t 'label_account'
        = "(" + spree_current_user.email + ")"
    
    %li
      %a{title: t('label_logout'), href:'/logout' } 
        %i.ofn-i_018-unlocked
        = t 'label_logout'

{'fraction_non_alphanumeric': 0.14325452016689846, 'fraction_numerical': 0.016689847009735744, 'mean_word_length': 2.1766004415011038, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7572729', 'n_tokens_mistral': 587, 'n_tokens_neox': 554, 'n_words': 82}