<commit_before><!DOCTYPE html>
<html lang="en" class="govuk-template" xmlns:th="http://www.w3.org/1999/xhtml">

<th:block th:fragment="project-user-row(model, organisation, user)">
        <td class="govuk-table__cell"
            th:text="${user.name}"></td>
        <td class="govuk-table__cell ifs-table__email"
            th:text="${user.email}"></td>
        <td class="govuk-table__cell"
            th:classappend="|${!user.hasRole ?: 'alignright'}|">
            <th:block th:if="${user.removeable}">
                <th:block th:insert="fragments/modals :: modal-project-team-remove (${user})"/>
                <a th:attr="data-js-modal=${'modal-project-team-remove-' + user.id}"
                   th:href="@{/project/{projectId}/team/remove-user/{userId}(projectId=${model.projectId},userId=${user.id})}"
                   class="govuk-link">Remove</a>
            </th:block>
            <th:block th:if="${user.hasRole}">
                <span th:text="${user.getRolesNames()}">Roles</span>
            </th:block>
        </td>
</th:block>

<th:block th:fragment="project-invite-row(model, organisation, invite)">
    <td class="govuk-table__cell hint"
        th:text="${invite.name}"></td>
    <td class="govuk-table__cell ifs-table__email hint"
        th:text="${invite.email}"></td>
    <td class="govuk-table__cell hint">
        <button th:if="${invite.canResend}" class="button-clear govuk-!-margin-right-1" type="submit"
                name="resend-invite" th:value="${invite.id}">Resend invite
        </button>
        <span th:if="${invite.canResend and invite.removeable}">|</span>
        <button th:if="${invite.removeable}" class="button-clear govuk-!-margin-left-1" type="submit"
                name="remove-invite" th:value="${invite.id}">Remove
        </button>
    </td>
</th:block>

<th:block th:fragment="partner-invite-row(model, organisation, invite)">
    <td class="govuk-table__cell hint"
        th:text="${invite.name}"></td>
    <td class="govuk-table__cell ifs-table__email hint"
        th:text="${invite.email}"></td>
    <td class="govuk-table__cell hint">
        <button th:if="${invite.canResend}" class="button-clear govuk-!-margin-right-1" type="submit"
                name="resend-partner-invite" th:value="${invite.id}">Resend invite
        </button>
        <span th:if="${invite.canResend and invite.removeable}">|</span>
        <button th:if="${invite.removeable}" class="button-clear govuk-!-margin-left-1" type="submit"
                name="remove-partner-invite" th:value="${invite.id}">Remove
        </button>
    </td>
</th:block>

<th:block th:fragment="assign-role(model)">
    <table class="govuk-table">
        <thead class="govuk-table__head">
        <tr class="govuk-table__row">
            <th scope="col" class="govuk-table__header govuk-!-width-one-third"><span class="govuk-visually-hidden">Role</span></th><commit_msg>IFS-6525 fixed alignment.<commit_after><!DOCTYPE html>
<html lang="en" class="govuk-template" xmlns:th="http://www.w3.org/1999/xhtml">

<th:block th:fragment="project-user-row(model, organisation, user)">
        <td class="govuk-table__cell"
            th:text="${user.name}"></td>
        <td class="govuk-table__cell ifs-table__email"
            th:text="${user.email}"></td>
        <td class="govuk-table__cell"
            th:classappend="${!user.hasRole} ? 'alignright'">
            <th:block th:if="${user.removeable}">
                <th:block th:insert="fragments/modals :: modal-project-team-remove (${user})"/>
                <a th:attr="data-js-modal=${'modal-project-team-remove-' + user.id}"
                   th:href="@{/project/{projectId}/team/remove-user/{userId}(projectId=${model.projectId},userId=${user.id})}"
                   class="govuk-link">Remove</a>
            </th:block>
            <th:block th:if="${user.hasRole}">
                <span th:text="${user.getRolesNames()}">Roles</span>
            </th:block>
        </td>
</th:block>

<th:block th:fragment="project-invite-row(model, organisation, invite)">
    <td class="govuk-table__cell hint"
        th:text="${invite.name}"></td>
    <td class="govuk-table__cell ifs-table__email hint"
        th:text="${invite.email}"></td>
    <td class="govuk-table__cell hint alignright">
        <button th:if="${invite.canResend}" class="button-clear govuk-!-margin-right-1" type="submit"
                name="resend-invite" th:value="${invite.id}">Resend invite
        </button>
        <span th:if="${invite.canResend and invite.removeable}">|</span>
        <button th:if="${invite.removeable}" class="button-clear govuk-!-margin-left-1" type="submit"
                name="remove-invite" th:value="${invite.id}">Remove
        </button>
    </td>
</th:block>

<th:block th:fragment="partner-invite-row(model, organisation, invite)">
    <td class="govuk-table__cell hint"
        th:text="${invite.name}"></td>  
    <td class="govuk-table__cell ifs-table__email hint"
        th:text="${invite.email}"></td>
    <td class="govuk-table__cell hint alignright">
        <button th:if="${invite.canResend}" class="button-clear govuk-!-margin-right-1" type="submit"
                name="resend-partner-invite" th:value="${invite.id}">Resend invite
        </button>
        <span th:if="${invite.canResend and invite.removeable}">|</span>
        <button th:if="${invite.removeable}" class="button-clear govuk-!-margin-left-1" type="submit"
                name="remove-partner-invite" th:value="${invite.id}">Remove
        </button>
    </td>
</th:block>

<th:block th:fragment="assign-role(model)">
    <table class="govuk-table">
        <thead class="govuk-table__head">
        <tr class="govuk-table__row">
            <th scope="col" class="govuk-table__header govuk-!-width-one-third"><span class="govuk-visually-hidden">Role</span></th>
{'fraction_non_alphanumeric': 0.19828913601368692, 'fraction_numerical': 0.003763900769888794, 'mean_word_length': 3.1024561403508772, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '1799307', 'n_tokens_mistral': 1982, 'n_tokens_neox': 1940, 'n_words': 265}