<commit_before>{% include "Layout/Templates/messaging.html.twig" %}

<div class="header clearfix">
  <div class="site-info">
    <div class="site-icon-block">
      <img class="site-icon" src="/apple-touch-icon.png" alt="apple touch icon">
      {% if debug %}
        <div class="debug-mode">{{ 'lbl.DebugMode'|trans|uppercase }}</div>
      {% endif %}
    </div>
    <div class="site-text">
      <p class="site-title">{{ SITE_TITLE }}
        <a class="site-url" data-url="{{ SITE_URL }}{{ prefixURL }}" href="{{ SITE_URL }}{{ prefixURL }}" target="_blank">{{ 'lbl.VisitWebsite'|trans|ucfirst }}</a>
      </p>
      {% if SITE_MULTILANGUAGE %}
        <div class="nav navbar-nav navbar-languages">
          {% if workingLanguages %}
            <span class="working-language hidden-xs">{{ 'msg.NowEditing'|trans|ucfirst }}</span>
            <div class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" title="{{ LANGUAGE|uppercase }}">
                <span class="dropdown-text">{{ ('lbl.'~LANGUAGE|uppercase)|trans|ucfirst }}</span>
                <span class="dropdown-angle"><i class="fa fa-angle-right" aria-hidden="true"></i></span>
              </a>
              <ul class="dropdown-menu" role="menu">
                {% for workingLanguage in workingLanguages %}
                  <li{% if workingLanguage.selected %} class="active"{% endif %}>
                    <a href="{{ geturl('',null,null,workingLanguage.abbr) }}" title="{{ workingLanguage.label|ucfirst }}">{{ ('lbl.'~workingLanguage.abbr|uppercase)|trans|ucfirst }}</a>
                  </li>
                {% endfor %}
              </ul>
            </div>
          {% endif %}
        </div>
      {% endif %}
    </div>
  </div>

  <ul class="nav navbar-nav navbar-right navbar-user">
    <li class="dropdown">
      <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" title="{{ authenticatedUserNickname }}">
        <img src="{{ FRONTEND_FILES_URL }}/Users/avatars/128x128/{{ authenticatedUserAvatar }}" class="img-circle" alt="{{ authenticatedUserNickname }}" />
        <i class="fa fa-angle-right" aria-hidden="true"></i>
      </a>
      <ul class="dropdown-menu pull-right" role="menu">
        {% if authenticatedUserEditUrl %}
          <li><a href="{{ authenticatedUserEditUrl }}">{{ 'lbl.EditProfile'|trans|ucfirst }}</a></li>
        {% endif %}
        <li><a href="{{ geturl('logout','authentication') }}">{{ 'lbl.SignOut'|trans|ucfirst }}</a></li>
      </ul>
    </li>
  </ul><commit_msg>Remove role menu from language and user nav dropdowns<commit_after>{% include "Layout/Templates/messaging.html.twig" %}

<div class="header clearfix">
  <div class="site-info">
    <div class="site-icon-block">
      <img class="site-icon" src="/apple-touch-icon.png" alt="apple touch icon">
      {% if debug %}
        <div class="debug-mode">{{ 'lbl.DebugMode'|trans|uppercase }}</div>
      {% endif %}
    </div>
    <div class="site-text">
      <p class="site-title">{{ SITE_TITLE }}
        <a class="site-url" data-url="{{ SITE_URL }}{{ prefixURL }}" href="{{ SITE_URL }}{{ prefixURL }}" target="_blank">{{ 'lbl.VisitWebsite'|trans|ucfirst }}</a>
      </p>
      {% if SITE_MULTILANGUAGE %}
        <div class="nav navbar-nav navbar-languages">
          {% if workingLanguages %}
            <span class="working-language hidden-xs">{{ 'msg.NowEditing'|trans|ucfirst }}</span>
            <div class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" title="{{ LANGUAGE|uppercase }}">
                <span class="dropdown-text">{{ ('lbl.'~LANGUAGE|uppercase)|trans|ucfirst }}</span>
                <span class="dropdown-angle"><i class="fa fa-angle-right" aria-hidden="true"></i></span>
              </a>
              <ul class="dropdown-menu">
                {% for workingLanguage in workingLanguages %}
                  <li{% if workingLanguage.selected %} class="active"{% endif %}>
                    <a href="{{ geturl('',null,null,workingLanguage.abbr) }}" title="{{ workingLanguage.label|ucfirst }}">{{ ('lbl.'~workingLanguage.abbr|uppercase)|trans|ucfirst }}</a>
                  </li>
                {% endfor %}
              </ul>
            </div>
          {% endif %}
        </div>
      {% endif %}
    </div>
  </div>

  <ul class="nav navbar-nav navbar-right navbar-user">
    <li class="dropdown">
      <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" title="{{ authenticatedUserNickname }}">
        <img src="{{ FRONTEND_FILES_URL }}/Users/avatars/128x128/{{ authenticatedUserAvatar }}" class="img-circle" alt="{{ authenticatedUserNickname }}" />
        <i class="fa fa-angle-right" aria-hidden="true"></i>
      </a>
      <ul class="dropdown-menu pull-right">
        {% if authenticatedUserEditUrl %}
          <li><a href="{{ authenticatedUserEditUrl }}">{{ 'lbl.EditProfile'|trans|ucfirst }}</a></li>
        {% endif %}
        <li><a href="{{ geturl('logout','authentication') }}">{{ 'lbl.SignOut'|trans|ucfirst }}</a></li>
      </ul>
    </li>
  </ul>
{'fraction_non_alphanumeric': 0.20091848450057406, 'fraction_numerical': 0.002296211251435132, 'mean_word_length': 2.8069919883466863, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 109, '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': '4933643', 'n_tokens_mistral': 1712, 'n_tokens_neox': 1610, 'n_words': 305}