<commit_before>{% macro editable_record_list(contenttype, subcontenttype, multiplecontent, extra_classes) %}
{% set lastgroup = "----" %}

<table class='{{ extra_classes }}' dashboardlisting' data-contenttype="{{ subcontenttype.slug }}" data-token="{{ token() }}">

    {% set any_deletable = false %}
    {% for content in multiplecontent %}
        {% set editable = isallowed('edit', content) %}
        {% set deletable = isallowed('delete', content) %}
        {% if deletable %}
            {% set any_deletable = true %}
        {% endif %}
        {% include ['custom/listing/' ~ contenttype.slug ~ '.twig', '_sub_listing.twig'] with { 'excerptlength': 380, 'thumbsize': 80, 'compact': false } %}
        {% if content.group.name is defined and (loop.first or content.group.name != lastgroup) %}
            {% set lastgroup = content.group.name %}
        {% endif %}

    {% else %}
        {{ __('No %contenttypes% available.', {'%contenttypes%':subcontenttype.name}) }}
    {% endfor %}
</table>

{% if any_deletable %}
<div class="btn-group">
    <a href="#" class="btn btn-default deletechosen showifchosen" style="display:none;">
        <i class="fa fa-trash-o"></i>
        {{ __('Delete selected %contenttype%',{'%contenttype%': contenttype.name}) }}
    </a>
</div>
{% endif %}

{{ pager() }}

{% endmacro %}
<commit_msg>Fixing a misplaced quote in _editable_record_list.twig<commit_after>{% macro editable_record_list(contenttype, subcontenttype, multiplecontent, extra_classes) %}
{% set lastgroup = "----" %}

<table class='{{ extra_classes }} dashboardlisting' data-contenttype="{{ subcontenttype.slug }}" data-token="{{ token() }}">

    {% set any_deletable = false %}
    {% for content in multiplecontent %}
        {% set editable = isallowed('edit', content) %}
        {% set deletable = isallowed('delete', content) %}
        {% if deletable %}
            {% set any_deletable = true %}
        {% endif %}
        {% include ['custom/listing/' ~ contenttype.slug ~ '.twig', '_sub_listing.twig'] with { 'excerptlength': 380, 'thumbsize': 80, 'compact': false } %}
        {% if content.group.name is defined and (loop.first or content.group.name != lastgroup) %}
            {% set lastgroup = content.group.name %}
        {% endif %}

    {% else %}
        {{ __('No %contenttypes% available.', {'%contenttypes%':subcontenttype.name}) }}
    {% endfor %}
</table>

{% if any_deletable %}
<div class="btn-group">
    <a href="#" class="btn btn-default deletechosen showifchosen" style="display:none;">
        <i class="fa fa-trash-o"></i>
        {{ __('Delete selected %contenttype%',{'%contenttype%': contenttype.name}) }}
    </a>
</div>
{% endif %}

{{ pager() }}

{% endmacro %}

{'fraction_non_alphanumeric': 0.18823529411764706, 'fraction_numerical': 0.003676470588235294, 'mean_word_length': 3.312202852614897, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '4313984', 'n_tokens_mistral': 919, 'n_tokens_neox': 816, 'n_words': 189}