<commit_before>{% load i18n staticfiles arctic_tags %}

    {# filters #}
    {% if has_filter %}
        <form action="" method="GET" class="row">
            {# <div class="row"> #}
                <div class="small-9 medium-10 columns">
                    {% include "arctic/partials/form_fields_inline.html" with form=filter.form hide_label=True %}
                </div>
                <div class="small-3 medium-2 columns">
                    <input type="submit" value="Filter" class="button secondary expand" />
                </div>
            {# </div> row  #}
        </form>
    {% endif %}
    <div class="row">
    {# data table #}
    {% if list_items %}
        <div class="small-12 columns">
            <div class="responsive-table">
                <table class="table">
                    <thead>
                        <tr>
                            {% for item in list_header %}
                                <th>
                                    {% if item.order_url %}
                                        <a href="{{ item.order_url }}">{{ item.label }}
                                            <i>{% if item.order_direction == 'desc' %}▼{% elif item.order_direction == 'asc' %}▲{% endif %}</i></a>
                                    {% else %}
                                        {{ item.label }}
                                    {% endif %}
                                </th>
                            {% endfor %}

                            {% if list_display_links %}
                                <th>{% trans "Actions" %}</th>
                            {% endif %}
                        </tr>
                    </thead>
                    <tbody>
                        {% for item in list_items %}
                            <tr>
                                {% for v in item|slice:"1:" %}
                                    {% if v|typename == 'ManyRelatedManager' %}
                                        <td>
                                            {% for item in v.all %}
                                                <span class="badge">{{ item }}</span>
                                            {% endfor %}
                                        </td>
                                    {% else %}

                                        {% if list_header|index:forloop.counter0|get_item:'class' %}
                                            <td class="{{ list_header|index:forloop.counter0|get_item:'class' }}">
                                        {% else %}
                                            <td>
                                        {% endif %}

                                        {% if list_header|index:forloop.counter0|get_item:'link' %}
                                            <a href="{% arctic_url list_header|index:forloop.counter0|get_item:'link' item.0 %}">
                                                {{ v|safe|default_if_none:""|linebreaks }}
                                            </a>
                                        {% else %}
                                            {{ v|safe|default_if_none:""|linebreaks }}
                                        {% endif %}

                                        </td>
                                    {% endif %}
                            {% endfor %}

                            {% if list_display_links %}
                                <td class="actions">
                                    {% for link in list_display_links %}
                                        <a href="{% arctic_url link.1 item.0 %}" class="action-{{ link.0 }}" title="{{ link.0|capfirst }}">
                                            {{ link.0|capfirst }}
                                        </a>
                                        &nbsp;
                                    {% endfor %}
                                </td>
                            {% endif %}
                            </tr>
                        {% endfor %}
                    </tbody>
                </table>
            </div> {# responsive table #}
        </div> {# small-12 columns #}
    </div> {# row #}<commit_msg>removed responsive table <div>, it was redundant<commit_after>{% load i18n staticfiles arctic_tags %}

    {# filters #}
    {% if has_filter %}
        <form action="" method="GET" class="row">
            {# <div class="row"> #}
                <div class="small-9 medium-10 columns">
                    {% include "arctic/partials/form_fields_inline.html" with form=filter.form hide_label=True %}
                </div>
                <div class="small-3 medium-2 columns">
                    <input type="submit" value="Filter" class="button secondary expand" />
                </div>
            {# </div> row  #}
        </form>
    {% endif %}
    <div class="row">
    {# data table #}
    {% if list_items %}
        <div class="small-12 columns">
            <table class="table">
                <thead>
                    <tr>
                        {% for item in list_header %}
                            <th>
                                {% if item.order_url %}
                                    <a href="{{ item.order_url }}">{{ item.label }}
                                        <i>{% if item.order_direction == 'desc' %}▼{% elif item.order_direction == 'asc' %}▲{% endif %}</i></a>
                                {% else %}
                                    {{ item.label }}
                                {% endif %}
                            </th>
                        {% endfor %}

                        {% if list_display_links %}
                            <th>{% trans "Actions" %}</th>
                        {% endif %}
                    </tr>
                </thead>
                <tbody>
                    {% for item in list_items %}
                        <tr>
                            {% for v in item|slice:"1:" %}
                                {% if v|typename == 'ManyRelatedManager' %}
                                    <td>
                                        {% for item in v.all %}
                                            <span class="badge">{{ item }}</span>
                                        {% endfor %}
                                    </td>
                                {% else %}

                                    {% if list_header|index:forloop.counter0|get_item:'class' %}
                                        <td class="{{ list_header|index:forloop.counter0|get_item:'class' }}">
                                    {% else %}
                                        <td>
                                    {% endif %}

                                    {% if list_header|index:forloop.counter0|get_item:'link' %}
                                        <a href="{% arctic_url list_header|index:forloop.counter0|get_item:'link' item.0 %}">
                                            {{ v|safe|default_if_none:""|linebreaks }}
                                        </a>
                                    {% else %}
                                        {{ v|safe|default_if_none:""|linebreaks }}
                                    {% endif %}
                                        </td>
                                {% endif %}
                            {% endfor %}

                        {% if list_display_links %}
                            <td class="actions">
                                {% for link in list_display_links %}
                                    <a href="{% arctic_url link.1 item.0 %}" class="action-{{ link.0 }}" title="{{ link.0|capfirst }}">
                                        {{ link.0|capfirst }}
                                    </a>
                                    &nbsp;
                                {% endfor %}
                            </td>
                        {% endif %}
                        </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div> {# small-12 columns #}
    </div> {# row #}
{'fraction_non_alphanumeric': 0.11958256599140576, 'fraction_numerical': 0.005402087170042971, 'mean_word_length': 0.6946120241314749, 'pattern_counts': {'":': 0, '<': 94, '<?xml version=': 0, '>': 94, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 98, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3014118', 'n_tokens_mistral': 1907, 'n_tokens_neox': 1646, 'n_words': 347}