<commit_before>{##
 # Sidebar-Panel: Displays the specific record's recent change log entries
 # (Usage Example: Edit content)
 #}
{% extends '_base/_panel.twig' %}

{% block panel_class 'panel-change-record' %}

{% block panel_icon 'fa-clock-o' %}

{% block panel_head __('contenttypes.generic.recent-changes-one',{'%contenttype%': context.contenttype}) %}

{% block panel_body %}
    <div id="changeholder">
        <div class="row">
            <div class="col-xs-12">
            {% for item in context.entries %}
                <p>- <a href="{{ path('changelogrecordsingle', {'contenttype': item.contenttype, 'contentid': item.contentid, 'id': item.id}) }}">
                          <time class="moment" datetime="{{ item.date }}" title="{{ item.date }}"></time></a> changed by {{ item.username }}</p>
            {% else %}
                <div class="nochangeitems">{{ __('There are no saved changes, yet.') }}</div>
            {% endfor %}
            </div>
        </div>
    </div>

{% endblock panel_body %}<commit_msg>Provide a default value for item.username<commit_after>{##
 # Sidebar-Panel: Displays the specific record's recent change log entries
 # (Usage Example: Edit content)
 #}
{% extends '_base/_panel.twig' %}

{% block panel_class 'panel-change-record' %}

{% block panel_icon 'fa-clock-o' %}

{% block panel_head __('contenttypes.generic.recent-changes-one',{'%contenttype%': context.contenttype}) %}

{% block panel_body %}
    <div id="changeholder">
        <div class="row">
            <div class="col-xs-12">
            {% for item in context.entries %}
                <p>- <a href="{{ path('changelogrecordsingle', {'contenttype': item.contenttype, 'contentid': item.contentid, 'id': item.id}) }}">
                          <time class="moment" datetime="{{ item.date }}" title="{{ item.date }}"></time></a> changed by {{ item.username|default('<unknown>') }}</p>
            {% else %}
                <div class="nochangeitems">{{ __('There are no saved changes, yet.') }}</div>
            {% endfor %}
            </div>
        </div>
    </div>

{% endblock panel_body %}
{'fraction_non_alphanumeric': 0.18688060405851817, 'fraction_numerical': 0.0018876828692779614, 'mean_word_length': 2.7655417406749554, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, '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': '928228', 'n_tokens_mistral': 667, 'n_tokens_neox': 616, 'n_words': 155}