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

{% block title %}
    <title>Dashboard</title>
{% endblock %}

{% block body -%}
    <h1>Client list</h1>

    <table class="records_list">
        <thead>
            <tr>
                <th>Id</th>
                <th>Name</th>
                <th>Actions</th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('user_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
                <td>{{ entity.username }}</td>
                <td>
                <ul>
                    <li>
                        <a href="{{ path('user_show', { 'id': entity.id }) }}">show</a>
                    </li>
                    <li>
                        <a href="{{ path('user_edit', { 'id': entity.id }) }}">edit</a>
                    </li>
                </ul>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

        <ul>
        <li>
            <a href="{{ path('user_add') }}">
                Create a new entry
            </a>
        </li>
    </ul>
    {% endblock %}<commit_msg>page index user done<commit_after>{% extends 'FlydDashboardBundle::layout.html.twig' %}

{% block title %}
    <title>Tous les utilisateurs</title>
{% endblock %}

{% block body %}
        
    <h1 class="lvl1">Tous les utilisateurs</h1>

    {% include "FlydDashboardBundle::flash.html.twig" %}

    {% for user in entities %}
    <div class="row">
        <div class="col-sm-12">
            <div class="bloc bloc--general">
                {% if app.user.id == user.id %}
                    <a href="{{ path('user_edit', { 'id': user.id }) }}" class="btn btn--edit"></a>
                {% endif %}
                <h2 class="bloc__title">
                    <a href="{{ path('user_show', { 'id': user.id }) }}">{{user.username}}</a>
                </h2>

                <div class="form-group">
                    
                    <label class="control-label">Fonction</label>

                    <div class="data">
                        {{ user.job }}
                    </div>

                </div>

                <div class="form-group">
                    
                    <label class="control-label">Email</label>

                    <div class="data">
                        <p>{{ user.email }}</p>
                    </div>
                    
                </div>


                {% if user.image %}
                <div class="form-group">
                    <label class="control-label">Profil</label>
                    <div class="data">
                        <img src="{{ user.image.webPath | apply_filter('miniature') }}" />
                    </div>
                    
                </div>
                {% endif %}

            </div>
        </div>
    </div>
    {% endfor %}

{% endblock %}
{'fraction_non_alphanumeric': 0.17270572299356587, 'fraction_numerical': 0.0030477480528276328, 'mean_word_length': 1.0920679886685551, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 0, '>': 84, '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': '7149230', 'n_tokens_mistral': 913, 'n_tokens_neox': 812, 'n_words': 164}