<commit_before>{% extends 'base.html.twig' %}

{% block mainContent %}

    <div class="row">
    <div class="col-md-12">
        <ul class="event-list">

        {% for folder in folders %} <!-- list of folders -->

            <li>
                <div class="info">
                    <h4 class="title"><i class="fa fa-folder-o"></i>
                            <a href='{{ path('control_access',{'slug':folder.slug}) }}'>{{ folder.folderName }}</a>
                    </h4>
                    <p class ="desc">
                        Size: 15Mb - Upload by {{ folder.user }}
                        {% for tag in folder.tags  %}
                            <span class="label label-default">{{ tag }}</span>
                        {% endfor %}

                        {% for user in folder.usersWithAccess %}
                            <span class="label label-danger">{{ user }}</span>
                        {% endfor %}
                    </p>
                    <ul>
                        {% if folder.getUser() == app.user %}
                            <a href="{{ path('folder_delete',{'slug':folder.slug}) }}" title="Delete {{ folder.folderName }}"><li><i class="fa fa-trash-o"></i>Delete </li></a>
                        {% endif %}
                    </ul>
                </div>
            </li>

        {% endfor %}

        {% for file in files %} <!-- list of files --><commit_msg>Carpetas tienen marcado "empty folder" cuando no tienen ficheros<commit_after>{% extends 'base.html.twig' %}

{% block mainContent %}

    <div class="row">
    <div class="col-md-12">
        <ul class="event-list">

        {% for folder in folders %} <!-- list of folders -->

            <li>
                <div class="info">
                    <h4 class="title"><i class="fa fa-folder-o"></i>
                            <a href='{{ path('control_access',{'slug':folder.slug}) }}'>{{ folder.folderName }}</a>
                    </h4>
                    <p class ="desc">
                        Size: 15Mb - Upload by {{ folder.user }} -
                        <b>{% if  folder.files.count == 0 %}empty folder{% endif %}</b>
                        {% for tag in folder.tags  %}
                            <span class="label label-default">{{ tag }}</span>
                        {% endfor %}

                        {% for user in folder.usersWithAccess %}
                            <span class="label label-danger">{{ user }}</span>
                        {% endfor %}
                    </p>
                    <ul>
                        {% if folder.getUser() == app.user %}
                            <a href="{{ path('folder_delete',{'slug':folder.slug}) }}" title="Delete {{ folder.folderName }}"><li><i class="fa fa-trash-o"></i>Delete </li></a>
                        {% endif %}
                    </ul>
                </div>
            </li>

        {% endfor %}

        {% for file in files %} <!-- list of files -->
{'fraction_non_alphanumeric': 0.1696398519017166, 'fraction_numerical': 0.0043756311006395154, 'mean_word_length': 1.1693430656934307, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '126484', 'n_tokens_mistral': 856, 'n_tokens_neox': 758, 'n_words': 186}