<commit_before>{% trans_default_domain 'AcmeUserBundle' %}

{# <div class="fos_user_user_show">
    <p>{{ 'profile.show.username'|trans }}: {{ user.username }}</p>
    <p>{{ 'profile.show.email'|trans }}: {{ user.email }}</p>
    <p>Last Login: {{ user.lastLogin|date('d-m-Y H:i:s') }}</p>
    <p>Roles: {{ user.roles|join(' , ')|replace({'ROLE_':'','_':' '|capitalize})|title }}</p>
</div> #}

<!-- page start-->
<div class="row">
    <aside class="profile-nav col-lg-3">
        <section class="panel">
            <div class="user-heading round">
                <a href="#">
                    <img src="
                            {% if app.user.getImage() != "userDefaultLogo.png" %}
                                {{ asset(['uploads/users/', app.user.getImage()]|join) }}
                            {% else %}
                                {{ asset('uploads/users/userDefaultLogoBlack.png') }}
                            {% endif %}
                             " width="140px" height="140px" alt=""/>
                </a>

                <h1>{{ user.username }}</h1>

                <p>{{ user.email }}</p>
            </div>

            <ul class="nav nav-pills nav-stacked">
                <li class="active"><a href="{{ path('acme_user_profile_show') }}"> <i class="icon-user"></i> Profile</a>
                </li>
                <li><a href="{{ path('acme_user_profile_edit') }}"> <i class="icon-edit"></i> Edit profile</a></li>
            </ul>

        </section>
    </aside>
    <aside class="profile-info col-lg-9">
        <section class="panel">
            <ul class="nav nav-pills nav-stacked labels-info inbox-divider">
                <!-- <li> <h4>Labels</h4> </li> -->
                <li><a href="#"> <i class=" icon-sign-blank text-danger"></i> Id <span
                                class="pull-right">{{ user.id }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-success"></i> Username <span
                                class="pull-right">{{ user.username }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-info "></i> Email <span
                                class="pull-right">{{ user.email }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-warning "></i> Created At <span
                                class="pull-right">{{ user.createdAt|date('d-m-Y H:i:s') }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-primary "></i> Created By <span
                                class="pull-right">{{ user.createdBy }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-danger"></i> Status <span
                                class="pull-right">{% if user.enabled %}
                            <span class="label label-inverse">Enabled</span>
                        {% else %}
                                <span class="label label-warning">disabled</span>
                            {% endif %}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-success"></i> Roles <span
                                class="pull-right">{{ user.roles|join(' , ')|replace({'ROLE_':'','_':' '|capitalize})|title }}</span></a>
                </li>

                <li><a href="#"> <i class=" icon-sign-blank text-info "></i> Last Login <span
                                class="pull-right">{{ user.lastLogin|date('d-m-y H:i:s') }}</span></a></li>
            </ul>
        </section>
    </aside>
</div>

<!-- page end--><commit_msg>trying duration<commit_after>{% trans_default_domain 'AcmeUserBundle' %}

{# <div class="fos_user_user_show">
    <p>{{ 'profile.show.username'|trans }}: {{ user.username }}</p>
    <p>{{ 'profile.show.email'|trans }}: {{ user.email }}</p>
    <p>Last Login: {{ user.lastLogin|date('d-m-Y H:i:s') }}</p>
    <p>Roles: {{ user.roles|join(' , ')|replace({'ROLE_':'','_':' '|capitalize})|title }}</p>
</div> #}

<!-- page start-->
<div class="row">
    <aside class="profile-nav col-lg-3">
        <section class="panel">
            <div class="user-heading round">
                <a href="#">
                    <img src="
                            {% if app.user.getImage() != "userDefaultLogo.png" %}
                                {{ asset(['uploads/users/', app.user.getImage()]|join) }}
                            {% else %}
                                {{ asset('uploads/users/userDefaultLogoBlack.png') }}
                            {% endif %}
                             " width="140px" height="140px" alt=""/>
                </a>

                <h1>{{ user.username }}</h1>

                <p>{{ user.email }}</p>
            </div>

            <ul class="nav nav-pills nav-stacked">
                <li class="active"><a href="{{ path('acme_user_profile_show') }}"> <i class="icon-user"></i> Profile</a>
                </li>
                <li><a href="{{ path('acme_user_profile_edit') }}"> <i class="icon-edit"></i> Edit profile</a></li>
            </ul>

        </section>
    </aside>
    <aside class="profile-info col-lg-9">
        <section class="panel">
            <ul class="nav nav-pills nav-stacked labels-info inbox-divider">
                <!-- <li> <h4>Labels</h4> </li> -->
                <li><a href="#"> <i class=" icon-sign-blank text-danger"></i> Id <span
                                class="pull-right">{{ user.id }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-success"></i> Username <span
                                class="pull-right">{{ user.username }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-info "></i> Email <span
                                class="pull-right">{{ user.email }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-warning "></i> Created At <span
                                class="pull-right">{{ user.createdAt|date('d-m-Y H:i:s') }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-primary "></i> Created By <span
                                class="pull-right">{{ user.createdBy }}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-danger"></i> Status <span
                                class="pull-right">{% if user.enabled %}
                            <span class="label label-inverse">Enabled</span>
                        {% else %}
                                <span class="label label-warning">disabled</span>
                            {% endif %}</span></a></li>

                <li><a href="#"> <i class=" icon-sign-blank text-success"></i> Roles <span
                                class="pull-right">{{ user.roles|join(' , ')|replace({'ROLE_':'','_':' '|capitalize})|title }}</span></a>
                </li>

                <li><a href="#"> <i class=" icon-sign-blank text-info "></i> Last Login <span
                                class="pull-right">{{ user.lastLogin|date('d-m-y H:i:s') }}</span></a></li>

                                {% set now = "now" %}
                 <li><a href="#"> <i class=" icon-sign-blank text-warning "></i> Duration <span
                                class="pull-right">{{ "now"|date - (user.lastLogin|date) }}</span></a></li>               
            </ul>
        </section>
    </aside>
</div>

<!-- page end-->
{'fraction_non_alphanumeric': 0.21180742334588487, 'fraction_numerical': 0.0032275416890801506, 'mean_word_length': 1.5689119170984456, 'pattern_counts': {'":': 0, '<': 251, '<?xml version=': 0, '>': 251, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1792633', 'n_tokens_mistral': 2336, 'n_tokens_neox': 2152, 'n_words': 436}