<commit_before>{% import '@bolt/_macro/_macro.twig' as macro %}
{% from '@bolt/_buic/_moment.twig' import buic_moment %}
{% from _self import tbody_beg, tbody_end %}

{% macro tbody_beg(local, modifiable) %}
    {% set class = [
    modifiable ? 'sortable' : '',
    local.row_heading and local.row_header ? 'striping_even' : 'striping_odd',
    ] %}

<tbody{{ hclass(class)}} data-bolt-widget="buicListingPart">
{% endmacro %}

{% macro tbody_end(toolbar) %}
{% if toolbar %}
    <tr class="selectiontoolbar hidden">
        <td colspan="{{ block('listing_columns') }}">
            <i class="fa fa-fw fa-rotate-270 fa-mail-forward"></i><div class="count">0</div>
            {{ toolbar }}
        </td>
    </tr>
{% endif %}
</tbody>
{% endmacro %}

{% set modifiable = permissions.create or permissions.edit or permissions.delete or permissions.publish or permissions.depublish %}

{% if content.taxonomy.grouped|default()) %}
    {% set orderbycontenttype = content.taxonomy.grouped|keys|first %}
    {% set showorder = app.config.get('taxonomy')[orderbycontenttype].has_sortorder %}
{% elseif content.contenttype.dragsort|default() %}
    {% set showorder = true %}
{% else %}
    {% set showorder = false %}
{% endif %}

{% set prop = {
extended:       not compact,
has_groupname:  content.group.name is defined,
nextgroup:      new_group|default(false),
unordered:      global.request.get('order') == '',
first:          loop.first,
last:           loop.last,<commit_msg>Fiiiix<commit_after>{% import '@bolt/_macro/_macro.twig' as macro %}
{% from '@bolt/_buic/_moment.twig' import buic_moment %}
{% from _self import tbody_beg, tbody_end %}

{% macro tbody_beg(local, modifiable) %}
    {% set class = [
    modifiable ? 'sortable' : '',
    local.row_heading and local.row_header ? 'striping_even' : 'striping_odd',
    ] %}

<tbody{{ hclass(class)}} data-bolt-widget="buicListingPart">
{% endmacro %}

{% macro tbody_end(toolbar) %}
{% if toolbar %}
    <tr class="selectiontoolbar hidden">
        <td colspan="{{ block('listing_columns') }}">
            <i class="fa fa-fw fa-rotate-270 fa-mail-forward"></i><div class="count">0</div>
            {{ toolbar }}
        </td>
    </tr>
{% endif %}
</tbody>
{% endmacro %}

{% set modifiable = permissions.create or permissions.edit or permissions.delete or permissions.publish or permissions.depublish %}

{% if content.taxonomy.grouped|default() %}
    {% set orderbycontenttype = content.taxonomy.grouped|keys|first %}
    {% set showorder = app.config.get('taxonomy')[orderbycontenttype].has_sortorder %}
{% elseif content.contenttype.dragsort|default() %}
    {% set showorder = true %}
{% else %}
    {% set showorder = false %}
{% endif %}

{% set prop = {
extended:       not compact,
has_groupname:  content.group.name is defined,
nextgroup:      new_group|default(false),
unordered:      global.request.get('order') == '',
first:          loop.first,
last:           loop.last,
{'fraction_non_alphanumeric': 0.16791044776119404, 'fraction_numerical': 0.0027137042062415195, 'mean_word_length': 3.6440944881889763, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '945036', 'n_tokens_mistral': 1027, 'n_tokens_neox': 918, 'n_words': 195}