<commit_before>{% load thumbnail %}
{% load i18n %}
{% if user.is_authenticated %}
    {% if user.is_staff or user.is_superuser %}
        <a style="text-decoration: none" href="{% url 'profiles:show_self' %}">
            {% if user.profile.picture %}
                <img title="profile picture" class="img-circle img-responsive" src="{% thumbnail user.profile.picture 40x40 crop="smart" %}">
            {% else %}
                <span class="fa fa-user"></span>
            {% endif %}
        </a>
        <div class="btn-group">
            <a style="cursor: pointer;color: gold;"  class="hidden-sm-down nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="{% url 'admin:index' %}">Admin</a>
            <div class="dropdown-menu">
                <a href="{% url 'profiles:show_self' %}" class="dropdown-item">{% trans 'Profile' %}</a>
                <a href="/admin/" class="dropdown-item">Admin Panel</a>
                <a href="{% url 'accounts:password-reset' %}" class="dropdown-item">{% trans 'Change password' %}</a>
                <div class="dropdown-divider"></div>
                <a href="{% url 'accounts:logout' %}" class="dropdown-item">{% trans 'Logout' %}</a>
            </div>
        </div>
    {% else %}
        <a style="text-decoration: none" href="{% url 'profiles:show_self' %}">
            {% if user.profile.picture %}
                <img class="img-circle img-responsive" src="{% thumbnail user.profile.picture 40x40 crop="smart" %}">
            {% else %}
                <span class="fa fa-user"></span>
            {% endif %}
        </a>
        <div class="btn-group">
            <a style="cursor: pointer;color: gold;"  class=" hidden-sm-down nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                {{ user.get_full_name }}
            </a>
            <div class="dropdown-menu "><commit_msg>hotfix<commit_after>{% load thumbnail %}
{% load i18n %}
{% if user.is_authenticated %}
    {% if user.is_staff or user.is_superuser %}
        <a style="text-decoration: none" href="{% url 'profiles:show_self' %}">
            {% if user.profile.picture %}
{#                <img title="profile picture" class="img-circle img-responsive" src="{% thumbnail user.profile.picture 40x40 crop="smart" %}">#}
            {% else %}
                <span class="fa fa-user"></span>
            {% endif %}
        </a>
        <div class="btn-group">
            <a style="cursor: pointer;color: gold;"  class="hidden-sm-down nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="{% url 'admin:index' %}">Admin</a>
            <div class="dropdown-menu">
                <a href="{% url 'profiles:show_self' %}" class="dropdown-item">{% trans 'Profile' %}</a>
                <a href="/admin/" class="dropdown-item">Admin Panel</a>
                <a href="{% url 'accounts:password-reset' %}" class="dropdown-item">{% trans 'Change password' %}</a>
                <div class="dropdown-divider"></div>
                <a href="{% url 'accounts:logout' %}" class="dropdown-item">{% trans 'Logout' %}</a>
            </div>
        </div>
    {% else %}
        <a style="text-decoration: none" href="{% url 'profiles:show_self' %}">
            {% if user.profile.picture %}
{#                <img class="img-circle img-responsive" src="{% thumbnail user.profile.picture 40x40 crop="smart" %}">#}
            {% else %}
                <span class="fa fa-user"></span>
            {% endif %}
        </a>
        <div class="btn-group">
            <a style="cursor: pointer;color: gold;"  class=" hidden-sm-down nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                {{ user.get_full_name }}
            </a>
            <div class="dropdown-menu ">
{'fraction_non_alphanumeric': 0.18687258687258687, 'fraction_numerical': 0.005148005148005148, 'mean_word_length': 2.318531169940222, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '5610077', 'n_tokens_mistral': 1257, 'n_tokens_neox': 1137, 'n_words': 252}