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

{% block body %}


    <h1>{% if entity.avatar %}
        <img class="thumbnail pull-left" style="margin-right:5px;" src="/uploads/avatars/thumbnail/{{entity.avatar}}" />
        {% endif %}
            {{entity.username}}
            <small style="color:green">{% if(entity.isActive != 0)%}<i class="fa fa-check-circle"></i>{%endif%}</small>
                {% if app.user != entity %}
                {%if isProxy %}
                <a class="btn btn-danger pull-right"
                   href="{{path('user_drop_proxy',{'proxyUserId':entity.id})}}">
                    Drop Proxy User
                </a>pr
                {%else%}
                <a class="btn btn-warning pull-right"
                   href="{{path('user_make_proxy',{'proxyUserId':entity.id})}}">
                    Add as Proxy
                </a>
                {%endif%}
                {%endif%}
        </h1>

        {%include '::flashbag.html.twig'%}

        <table class="record_properties  table">
            <tbody>
                <tr>
                    <th>Id</th>
                    <td>{{ entity.id }}</td>
                </tr>
                <tr>
                    <th>Username</th>
                    <td>{{ entity.username }}</td>
                </tr>
                <tr>
                    <th>Email</th>
                    <td>{{ entity.email }}</td>
                </tr>
                <tr>
                    <th>Roles</th>
                    <td>
                        {% for role in entity.roles %}
                            {{role.name}}(<strong>{{role.role}}</strong>) <br/>
                        {% endfor %}
                    </td>

                </tr>
            </tbody>
        </table>

        {% endblock %}<commit_msg>User profile some ui fixes<commit_after>{% extends '::ojsbase.html.twig' %}

{% block body %}


    <h1>{% if entity.avatar %}
        <img class="thumbnail pull-left" style="margin-right:5px;" src="/uploads/avatars/thumbnail/{{entity.avatar}}" />
        {% endif %}
            {{entity.username}}
            <small style="color:green">{% if(entity.isActive != 0)%}<i class="fa fa-check-circle"></i>{%endif%}</small>
            <span class="badge">{{ entity.id }}</span>
                {% if app.user != entity %}
                {%if isProxy %}
                <a class="btn btn-danger pull-right"
                   href="{{path('user_drop_proxy',{'proxyUserId':entity.id})}}">
                    Drop Proxy User
                </a>pr
                {%else%}
                <a class="btn btn-warning pull-right"
                   href="{{path('user_make_proxy',{'proxyUserId':entity.id})}}">
                    Add as Proxy
                </a>
                {%endif%}
                {%endif%}
        </h1>

        {%include '::flashbag.html.twig'%}

        <table class="record_properties  table">
            <tbody> 
                <tr>
                    <th>{{"Username"|trans}}</th>
                    <td>{{ entity.username }}</td>
                </tr>
                <tr>
                    <th>{{"Email"|trans}}</th>
                    <td>{{ entity.email }}</td>
                </tr>
                <tr>
                    <th>{{"Roles"|trans}}</th>
                    <td>
                        {% for role in entity.roles %}
                            <span class="label label-info" title="{{role.role}}">{{role.name}}</span>  <br/>
                        {% endfor %}
                    </td>

                </tr>
            </tbody>
        </table>

        {% endblock %}
{'fraction_non_alphanumeric': 0.17189218921892188, 'fraction_numerical': 0.0022002200220022, 'mean_word_length': 1.138154027042916, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '978822', 'n_tokens_mistral': 1109, 'n_tokens_neox': 967, 'n_words': 179}