<commit_before>{% if placeholder is defined %}
<li class="placeholder border-left {#border-top#}">
    <span><a href="#"><i class="fa fa-ellipsis-h"> </i></a></span>
    <span> </span>
    <span> </span>
    <span> </span>
    <span> </span>
</li>
{% endif %}
{% if (folderTree is not empty) %}
    {% for folder in folderTree %}
        <li id="folder_{{ folder.id }}" class="dashed {% if folder.deleteMark !=0 %} deleted {% endif %}">
            <ul>
                <li class="row">
                    <span>
                    {% if folder.deleteMark != 0 %}
                        <i class="fa fa-remove"> </i>
                        <i class="fa fa-folder"> </i>{{ folder.folderName }}
                    {% else %}
                        <a href="#" name="openFolder" id="{{ folder.id }}">
                            <i class="fa fa-chevron-down"> </i><i class="fa fa-folder"> </i>{{ folder.folderName }}
                        </a>
                    {% endif %}
                    </span>
                    <span>ID: {{ folder.addedByUserId }}</span>
                    <span>{{ folder.addTimestamp|date('Y-m-d H:i:s') }}</span>
                    <span class="text-right width-66">
                    {% if folder.deleteMark != 0 %}
                        <i class="fa fa-ban" id="isRemoved"> </i>
                    {% else %}
                        {% if folder.sumErrors is not null %}
                            <i class="fa fa-exclamation" id="checkError"> </i>({{ folder.sumErrors }})
                        {% else %}
                            <i class="fa fa-check-circle-o" id="checkPassed"> </i>
                        {% endif %}
                    {% endif %}
                        &nbsp;<i class="fa fa-user" id="lastChangeInfo"> </i>
                    </span>
                    <span id="{{ folder.id }}" class="text-right width-66">
                    {% if folder.deleteMark != 0 %}
                        <a href="#" name="restoreFolder"><i class="fa fa-undo"> </i></a>
                    {% else %}
                        <!--<a href="#" name="openContents"><i class="fa fa-angle-down"></i><i class="fa fa-folder" id="openContents"></i></a>-->
                        <a href="#" name="addFiles"><i class="fa fa-upload" id=addFiles"> </i></a>
                        <a href="#" name="addFolder"><i class="fa fa-plus-square-o" id="createCatalogue"> </i><i class="fa fa-folder-o"> </i></a>
                        <a href="#" name="removeFolder"><i class="fa fa-trash-o" id="removeFolder"> </i></a>
                    {% endif %}
                    </span>
                </li>
            </ul>
            <ul class="border-left">
                <li hidden id="folderContent_{{ folder.id }}" class="fa-ul"> </li>
            </ul>
        </li>
    {% endfor %}
{% else %}
{% endif %}<commit_msg>Archive manager template bugfix for previous commit<commit_after>{% if placeholder is defined %}
<li class="placeholder border-left {#border-top#}">
    <span><a href="#"><i class="fa fa-ellipsis-h"> </i></a></span>
    <span> </span>
    <span> </span>
    <span> </span>
    <span> </span>
</li>
{% endif %}
{% if (folderTree is not empty) %}
    {% for folder in folderTree %}
        <li id="folder_{{ folder.id }}" class="dashed {% if folder.deleteMark !=0 %} deleted {% endif %}">
            <ul>
                <li class="row">
                    <span>
                    {% if folder.deleteMark != 0 %}
                        <i class="fa fa-remove"> </i>
                        <i class="fa fa-folder"> </i>{{ folder.folderName }}
                    {% else %}
                        <a href="#" name="openFolder" id="{{ folder.id }}">
                            <i class="fa fa-chevron-down"> </i><i class="fa fa-folder"> </i>{{ folder.folderName }}
                        </a>
                    {% endif %}
                    </span>
                    <span>ID: {{ folder.addedByUserId }}</span>
                    <span>{{ folder.addTimestamp|date('Y-m-d H:i:s') }}</span>
                    <span class="text-right width-66">
                    {% if folder.deleteMark != 0 %}
                        <i class="fa fa-ban" id="isRemoved"> </i>
                    {% else %}
                        {% if folder.sumErrors is not null %}
                            <i class="fa fa-exclamation" id="checkError"> </i>({{ folder.sumErrors }})
                        {% else %}
                            <i class="fa fa-check-circle-o" id="checkPassed"> </i>
                        {% endif %}
                    {% endif %}
                        &nbsp;<i class="fa fa-user" id="lastChangeInfo"> </i>
                    </span>
                    <span id="{{ folder.id }}" class="text-right width-66">
                    {% if folder.deleteMark != 0 %}
                        <a href="#" name="restoreFolder"><i class="fa fa-undo"> </i></a>
                    {% else %}
                        <!--<a href="#" name="openContents"><i class="fa fa-angle-down"></i><i class="fa fa-folder" id="openContents"></i></a>-->
                        <a href="#" name="addFiles"><i class="fa fa-upload" id=addFiles"> </i></a>
                        <a href="#" name="addFolder"><i class="fa fa-plus-square-o" id="createCatalogue"> </i><i class="fa fa-folder-o"> </i></a>
                        <a href="#" name="removeFolder"><i class="fa fa-trash-o" id="removeFolder"> </i></a>
                    {% endif %}
                    </span>
                </li>
            </ul>
            <ul class="border-left">
                <li hidden id="folderContent_{{ folder.id }}" class="fa-ul"> </li>
                <li hidden id="fileContent_{{ folder.id }}" class="fa-ul"> </li>
            </ul>
        </li>
    {% endfor %}
{% else %}
{% endif %}
{'fraction_non_alphanumeric': 0.19103813921669233, 'fraction_numerical': 0.002736446040704635, 'mean_word_length': 1.3533199195171026, 'pattern_counts': {'":': 0, '<': 163, '<?xml version=': 0, '>': 163, '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': '2895984', 'n_tokens_mistral': 1783, 'n_tokens_neox': 1585, 'n_words': 378}