<commit_before><!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<th:block th:fragment="empty (model)">
    Empty
</th:block>

<th:block th:fragment="generic (model)">
    <div class="govuk-form-group">

        <th:block th:unless="${model.isKtpAssessmentQuestion()}">
            <label th:if="${(model.question != null) and !model.isHecpWorkProgrammeQuestion()}" class="govuk-label">
                <span th:unless="${model.isCompletedLoanBusinessAndFinancialInformation()}" th:text="${model.question}" class="govuk-heading-s"></span>
                <th:block th:if="${model.isCompletedLoanBusinessAndFinancialInformation()}">
                    <span>Thanks for submitting Part B of your loan application.</span><br/><br/>
                </th:block>
            </label>

            <div th:if="${model.isCompletedLoanBusinessAndFinancialInformation()}" class="govuk-body">

                    <span class="govuk-heading-m">What happens next</span>
                    <p>We will make our decision based on the suitability of your business and the quality of the project.</p>

            </div>
            <th:block th:unless="${model.isCompletedLoanBusinessAndFinancialInformation()}">
                <th:block th:if="${model.isHecpWorkProgrammeQuestion()}">
                    <th:block th:if="${model.isWorkProgrammeQuestionCompleted()}">
                        <dl class="govuk-list govuk-!-font-size-16">
                            <dt>Select the Horizon Europe Work programme Part you applied to, e.g. CL2.</dt>
                            <dd class="govuk-!-margin-top-4" th:text="${model.workProgrammeAnswers.get(0).workProgramme.name}"></dd>
                            <dt class="govuk-!-margin-top-6">Select the call you applied to.</dt>
                            <dd class="govuk-!-margin-top-4" th:text="${model.workProgrammeAnswers.get(1).workProgramme.name}"></dd>
                        </dl>
                    </th:block>
                    <th:block th:unless="${model.isWorkProgrammeQuestionCompleted()}">
                        <p class="govuk-body">Answer yet to be provided</p>
                    </th:block>
                </th:block>

                <th:block th:if="${model.multipleStatuses}">

                    <th:block th:if="${model.hasAnswerNotMarkedAsComplete()}">
                        <div class="warning-alert">
                            <p class="govuk-body"  th:if="${model.isImpactManagementQuestion()}">These organisations have not completed project impact survey:</p>
                            <p class="govuk-body"  th:unless="${model.isImpactManagementQuestion()}">The following organisations have not yet marked this question as complete:</p>

                            <ul class="govuk-list govuk-list--bullet">
                                <th:block
                                        th:each="nonMarkedAsCompletePartner : ${model.nonMarkedAsCompletePartners}">
                                    <li th:text="${nonMarkedAsCompletePartner.partnerName}">Non marked as complete
                                        partner organisation
                                    </li>
                                </th:block>
                            </ul>
                            <p class="govuk-body" th:if="${model.isImpactManagementQuestion()}">This application cannot be submitted until all partners complete the survey.</p>
                            <p class="govuk-body" th:unless="${model.isImpactManagementQuestion()}">This application cannot be submitted until all partners mark this
                                question as complete.</p>
                        </div>
                    </th:block>

                        <table class="govuk-table">

                            <thead class="govuk-table__head">
                            <tr class="govuk-table__row">
                                <th scope="col" class="govuk-table__header">Partner</th>
                                <th scope="col" class="govuk-table__header"   th:text="${model.isImpactManagementQuestion()?'Status' : 'Answer'}">Answer</th>
                            </tr><commit_msg>IFS-12986 content corrected<commit_after><!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<th:block th:fragment="empty (model)">
    Empty
</th:block>

<th:block th:fragment="generic (model)">
    <div class="govuk-form-group">

        <th:block th:unless="${model.isKtpAssessmentQuestion()}">
            <label th:if="${(model.question != null) and !model.isHecpWorkProgrammeQuestion()}" class="govuk-label">
                <span th:unless="${model.isCompletedLoanBusinessAndFinancialInformation()}" th:text="${model.question}" class="govuk-heading-s"></span>
                <th:block th:if="${model.isCompletedLoanBusinessAndFinancialInformation()}">
                    <span>Thanks for submitting Part B of your loan application.</span><br/><br/>
                </th:block>
            </label>

            <div th:if="${model.isCompletedLoanBusinessAndFinancialInformation()}" class="govuk-body">

                    <span class="govuk-heading-m">What happens next</span>
                    <p>We will make our decision based on the suitability of your business and the quality of the project.</p>

            </div>
            <th:block th:unless="${model.isCompletedLoanBusinessAndFinancialInformation()}">
                <th:block th:if="${model.isHecpWorkProgrammeQuestion()}">
                    <th:block th:if="${model.isWorkProgrammeQuestionCompleted()}">
                        <dl class="govuk-list govuk-!-font-size-16">
                            <dt>Select the Horizon Europe Work programme Part you applied to, e.g. CL2.</dt>
                            <dd class="govuk-!-margin-top-4" th:text="${model.workProgrammeAnswers.get(0).workProgramme.name}"></dd>
                            <dt class="govuk-!-margin-top-6">Select the call you applied to.</dt>
                            <dd class="govuk-!-margin-top-4" th:text="${model.workProgrammeAnswers.get(1).workProgramme.name}"></dd>
                        </dl>
                    </th:block>
                    <th:block th:unless="${model.isWorkProgrammeQuestionCompleted()}">
                        <p class="govuk-body">Answer yet to be provided</p>
                    </th:block>
                </th:block>

                <th:block th:if="${model.multipleStatuses}">

                    <th:block th:if="${model.hasAnswerNotMarkedAsComplete()}">
                        <div class="warning-alert">
                            <p class="govuk-body"  th:if="${model.isImpactManagementQuestion()}">These organisations have not completed the project impact survey:</p>
                            <p class="govuk-body"  th:unless="${model.isImpactManagementQuestion()}">The following organisations have not yet marked this question as complete:</p>

                            <ul class="govuk-list govuk-list--bullet">
                                <th:block
                                        th:each="nonMarkedAsCompletePartner : ${model.nonMarkedAsCompletePartners}">
                                    <li th:text="${nonMarkedAsCompletePartner.partnerName}">Non marked as complete
                                        partner organisation
                                    </li>
                                </th:block>
                            </ul>
                            <p class="govuk-body" th:if="${model.isImpactManagementQuestion()}">This application cannot be submitted until all partners complete the survey.</p>
                            <p class="govuk-body" th:unless="${model.isImpactManagementQuestion()}">This application cannot be submitted until all partners mark this
                                question as complete.</p>
                        </div>
                    </th:block>

                        <table class="govuk-table">

                            <thead class="govuk-table__head">
                            <tr class="govuk-table__row">
                                <th scope="col" class="govuk-table__header">Partner</th>
                                <th scope="col" class="govuk-table__header"   th:text="${model.isImpactManagementQuestion()?'Status' : 'Answer'}">Answer</th>
                            </tr>
{'fraction_non_alphanumeric': 0.13286463298379408, 'fraction_numerical': 0.0025023832221163014, 'mean_word_length': 1.7911539740605253, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '146087', 'n_tokens_mistral': 2204, 'n_tokens_neox': 2086, 'n_words': 408}