<commit_before>{% extends 'AppBundle::index.html.twig' %}

{% block content_page %}
    <div class="container-fluid well well-lg">
        <div class="col-md-9 well well-sm">
            <h1 class="text-primary">News</h1>
            {% include 'AppBundle::block_news.html.twig' with {'news': news} %}
        </div>
        <div class="col-md-3">
            <div class="well well-lg">
                {% if not is_granted("IS_AUTHENTICATED_FULLY") %}
                    {% if specified_page == 'login' %}
                        {{ render(controller('FOSUserBundle:Security:login')) }}
                    {% elseif specified_page == 'register' %}
                        {{ render(controller('FOSUserBundle:Registration:register')) }}
                    {% endif %}
                {% else %}
                {% endif %}
            </div>
        </div>
    </div>
{% endblock %}<commit_msg>simple display name if connected<commit_after>{% extends 'AppBundle::index.html.twig' %}

{% block content_page %}
    <div class="container-fluid well well-lg">
        <div class="col-md-9 well well-sm">
            <h1 class="text-primary">News</h1>
            {% include 'AppBundle::block_news.html.twig' with {'news': news} %}
        </div>
        <div class="col-md-3">
            <div class="well well-lg">
                {% if not is_granted("IS_AUTHENTICATED_FULLY") %}
                    {% if specified_page == 'login' %}
                        {{ render(controller('FOSUserBundle:Security:login')) }}
                    {% elseif specified_page == 'register' %}
                        {{ render(controller('FOSUserBundle:Registration:register')) }}
                    {% endif %}
                {% else %}
                    <h2>{{ app.user.username }}</h2>
                {% endif %}
            </div>
        </div>
    </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.16130760986066453, 'fraction_numerical': 0.0053590568060021436, 'mean_word_length': 1.694083694083694, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '4434050', 'n_tokens_mistral': 567, 'n_tokens_neox': 506, 'n_words': 95}