<commit_before>{% extends '::base.html.twig' %}

{% block body_container %}
    <h1>{% block page_heading %}{{ 'entity.change_request.title'|trans }}{%endblock%}</h1>

    <div class="fieldset card action">
        {% include '@Dashboard/EntityActions/actionsForDetail.html.twig' with {entity: actions, isAdmin: isAdmin} %}
    </div>

    <div class="fieldset card">
        {% if changeRequests.getChangeRequests()|length %}
            <div class="wysiwyg">{{ 'entity.change_request.text.html'|trans|wysiwyg }}</div>
        {% else %}
            <div class="wysiwyg">{{ 'entity.change_request.none.text.html'|trans|wysiwyg }}</div>
        {% endif %}
    </div>

    {%  for changeRequest in changeRequests.getChangeRequests() %}

        <div class="fieldset card">
            <h2>{{ changeRequest.created|date }}</h2>

            {% if changeRequest.note is not null %}
                <p>{{ changeRequest.note }}</p>
            {% endif %}

            <table  class="change-request-overview">
                <tr>
                    <th>{{ 'entity.change_request.value'|trans }}</th>
                    <th>{{ 'entity.change_request.data'|trans }}</th>
                </tr>
                    {% for index, pathUpdate in changeRequest.pathUpdates %}
                    <tr>
                            <td>{{ index }}</td>
                            <td>{{ pathUpdate }}</td>
                    </tr>
                    {%  endfor %}

            </table>
        </div>
    {% endfor %}
{% endblock %}<commit_msg>Support multiple changed values in a change request<commit_after>{% extends '::base.html.twig' %}

{% block body_container %}
    <h1>{% block page_heading %}{{ 'entity.change_request.title'|trans }}{%endblock%}</h1>

    <div class="fieldset card action">
        {% include '@Dashboard/EntityActions/actionsForDetail.html.twig' with {entity: actions, isAdmin: isAdmin} %}
    </div>

    <div class="fieldset card">
        {% if changeRequests.getChangeRequests()|length %}
            <div class="wysiwyg">{{ 'entity.change_request.text.html'|trans|wysiwyg }}</div>
        {% else %}
            <div class="wysiwyg">{{ 'entity.change_request.none.text.html'|trans|wysiwyg }}</div>
        {% endif %}
    </div>

    {%  for changeRequest in changeRequests.getChangeRequests() %}

        <div class="fieldset card">
            <h2>{{ changeRequest.created|date }}</h2>

            {% if changeRequest.note is not null %}
                <p>{{ changeRequest.note }}</p>
            {% endif %}

            <table  class="change-request-overview">
                <tr>
                    <th>{{ 'entity.change_request.value'|trans }}</th>
                    <th>{{ 'entity.change_request.data'|trans }}</th>
                </tr>
                    {% for index, pathUpdate in changeRequest.pathUpdates %}
                    <tr>
                            <td>{{ index }}</td>
                            <td>
                            {% if pathUpdate is iterable %}
                                <ul>
                                    {%  for name, value in pathUpdate %}
                                        <li>{{ name }}: {{ value }}</li>
                                    {% endfor %}
                                </ul>
                            {% else %}
                                {{ pathUpdate }}
                            {% endif %}
                        </td>
                    </tr>
                    {%  endfor %}

            </table>
        </div>
    {% endfor %}
{% endblock %}
{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.0022377622377622378, 'mean_word_length': 1.4611149346180317, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4160468', 'n_tokens_mistral': 1067, 'n_tokens_neox': 959, 'n_words': 195}