<commit_before>{% set translationDomain = "client-profile" %}
{% trans_default_domain translationDomain %}
{% set page = "clientNotes" %}

<details class="panel panel-admin hard behat-region-client-profile-notes">

    <summary class="panel-heading flush--bottom">
        <a class="summary heading-medium client-profile-notes-toggle">{{ (page ~ '.heading') | trans }}</a>
    </summary>

    <div class="panel-body soft-half">

        <a href="{{ path('add_note', {'reportId': report.id}) }}" class="bold-small action-link right add-notes-button">
            <span class="icon icon-plus"></span>
            {{ (page ~ '.addNote') | trans }}
        </a>

        {% if notes is not empty %}

            <table>
                <thead>
                    <th>{{ (page ~ '.note') | trans }}</th>
                    <th>{{ (page ~ '.category') | trans }}</th>
                    <th>{{ (page ~ '.addedBy') | trans }}</th>
                    <th>{{ (page ~ '.dateAdded') | trans }}</th>
                    <th></th>
                </thead>

                <tbody>
                {% for note in notes %}
                    <tr>
                        <td class="width-half">
                            {% if note.content %}
                                <details>
                                    <summary>
                                        <a class="summary note-title-expand">{{ note.title }}</a>
                                    </summary>
                                    <div class="panel panel-border-narrow">
                                        {{ note.content }}
                                    </div>
                                </details>
                            {% else %}
                                <p>{{ note.title }}</p>
                            {% endif %}
                        </td>
                        <td class="width-eighth">{{ note.category }}</td>
                        <td class="width-eighth">{{ note.createdBy.firstname|first }}{{ note.createdBy.lastname|first }}</td>
                        <td class="width-sixth">{{ note.createdOn | date(" d M Y") }}</td>
                        <td class="width-eighth text--right hard--right">
                            <a href="{{ path('report_review', {'reportId': report.id}) }}">{{ (page ~ '.editNote') | trans }}</a>
                        </td>

                    </tr>
                {% endfor %}
                </tbody>
            </table>

        {% else %}

            <p>{{ (page ~ '.noNotes') | trans }}</p>

        {% endif %}
    </div>

</details>
<commit_msg>DDPB-797 showing full name when hovering over initials<commit_after>{% set translationDomain = "client-profile" %}
{% trans_default_domain translationDomain %}
{% set page = "clientNotes" %}

<details class="panel panel-admin hard behat-region-client-profile-notes">

    <summary class="panel-heading flush--bottom">
        <a class="summary heading-medium client-profile-notes-toggle">{{ (page ~ '.heading') | trans }}</a>
    </summary>

    <div class="panel-body soft-half">

        <a href="{{ path('add_note', {'reportId': report.id}) }}" class="bold-small action-link right add-notes-button">
            <span class="icon icon-plus"></span>
            {{ (page ~ '.addNote') | trans }}
        </a>

        {% if notes is not empty %}

            <table>
                <thead>
                    <th>{{ (page ~ '.note') | trans }}</th>
                    <th>{{ (page ~ '.category') | trans }}</th>
                    <th>{{ (page ~ '.addedBy') | trans }}</th>
                    <th>{{ (page ~ '.dateAdded') | trans }}</th>
                    <th></th>
                </thead>

                <tbody>
                {% for note in notes %}
                    <tr>
                        <td class="width-half">
                            {% if note.content %}
                                <details>
                                    <summary>
                                        <a class="summary note-title-expand">{{ note.title }}</a>
                                    </summary>
                                    <div class="panel panel-border-narrow">
                                        {{ note.content }}
                                    </div>
                                </details>
                            {% else %}
                                <p>{{ note.title }}</p>
                            {% endif %}
                        </td>
                        <td class="width-eighth">{{ note.category }}</td>
                        <td class="width-eighth">
                            <span title="{{ note.createdBy.firstname }} {{ note.createdBy.lastname }}">{{ note.createdBy.firstname|first }}{{ note.createdBy.lastname|first }}</span>
                        </td>
                        <td class="width-sixth">{{ note.createdOn | date(" d M Y") }}</td>
                        <td class="width-eighth text--right hard--right">
                            <a href="{{ path('report_review', {'reportId': report.id}) }}">{{ (page ~ '.editNote') | trans }}</a>
                        </td>

                    </tr>
                {% endfor %}
                </tbody>
            </table>

        {% else %}

            <p>{{ (page ~ '.noNotes') | trans }}</p>

        {% endif %}
    </div>

</details>

{'fraction_non_alphanumeric': 0.16280792739396185, 'fraction_numerical': 0.0005556584552694943, 'mean_word_length': 1.102803738317757, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '373942', 'n_tokens_mistral': 1450, 'n_tokens_neox': 1306, 'n_words': 308}