<commit_before>{% extends '::ojsbase.html.twig' %}
{% set hideleft = true %}
{% block title %}{{ 'title.user_show'|trans }} {{ parent() }}{% endblock %}

{% block breadcrumb %}
    {% set list = [
        {'link': path('ojs_admin_dashboard'), 'title': 'dashboard'|trans},
        { 'link': path('ojs_admin_user_index'), 'title': 'title.users'|trans},
        { 'title': 'title.user_show'|trans},
    ] %}
    {{ breadcrumb(list) }}
{% endblock %}

{% block body %}
    {% include '::flashbag.html.twig' %}
    <h1>{% if entity.avatar %}
            <img class="thumbnail pull-left" style="margin-right:5px;"
                 src="{{ entity.avatar|imagine_filter('avatar_thumb') }}"/>
        {% endif %}
        {{ entity.username }}

    </h1>
    {{ display(entity) }}
    {% set back_path = 'ojs_admin_user_index' %}
    {% if is_granted('EDIT', entity) %}
        {% set edit_path = 'ojs_admin_user_edit' %}
    {% endif %}
    {% if is_granted('DELETE', entity) %}
        {% set delete_path = 'ojs_admin_user_delete' %}
    {% endif %}
    {% include '::actionbuttons.html.twig' %}
{% endblock %}
<commit_msg>user entity display revise<commit_after>{% extends '::ojsbase.html.twig' %}
{% set hideleft = true %}
{% block title %}{{ 'title.user_show'|trans }} {{ parent() }}{% endblock %}

{% block breadcrumb %}
    {% set list = [
        {'link': path('ojs_admin_dashboard'), 'title': 'dashboard'|trans},
        { 'link': path('ojs_admin_user_index'), 'title': 'title.users'|trans},
        { 'title': 'title.user_show'|trans},
    ] %}
    {{ breadcrumb(list) }}
{% endblock %}

{% block body %}
    {% include '::flashbag.html.twig' %}
    <h1>{% if entity.avatar %}
            <img class="thumbnail pull-left" style="margin-right:5px;"
                 src="{{ entity.avatar|imagine_filter('avatar_thumb') }}"/>
        {% endif %}
        {{ entity.username }}

    </h1>
    {{ display(entity, {exclude: ['salt', 'groups']}) }}
    {% set back_path = 'ojs_admin_user_index' %}
    {% if is_granted('EDIT', entity) %}
        {% set edit_path = 'ojs_admin_user_edit' %}
    {% endif %}
    {% if is_granted('DELETE', entity) %}
        {% set delete_path = 'ojs_admin_user_delete' %}
    {% endif %}
    {% include '::actionbuttons.html.twig' %}
{% endblock %}

{'fraction_non_alphanumeric': 0.2088830255057168, 'fraction_numerical': 0.002638522427440633, 'mean_word_length': 3.0697674418604652, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '372492', 'n_tokens_mistral': 847, 'n_tokens_neox': 767, 'n_words': 134}