<commit_before><!DOCTYPE html>
<html lang="en" class="govuk-template" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:insert="fragments/layout :: head" th:with="pageTitle='Assign applications to interview panel'" />
</head>

<body class="govuk-template__body competition-management competition-overview">
<th:block th:insert="fragments/layout :: body-start" />
<th:block th:insert="fragments/layout :: global-header" />

<div class="govuk-width-container">
    <th:block th:insert="fragments/layout :: phase-banner" />
    <th:block th:insert="fragments/layout :: header-sub" th:with="linkTitle='Manage interview panel',linkUrl=@{/assessment/interview/competition/{competitionId}(competitionId=${model.competitionId})}" />

    <main class="govuk-main-wrapper" id="main-content" role="main">
        <th:block th:insert="fragments/layout :: page-title"
                  th:with="pageTitle='Assign applications to interview panel',subTitle=${model.competitionId + ': ' + model.competitionName},size='govuk-heading-xl'"/>

        <h2 class="govuk-heading-m">Key statistics</h2>

        <div class="govuk-grid-row">
            <div class="govuk-grid-column-one-quarter">
                <div class="highlight-panel highlight-panel-padded">
                    <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.applicationsInCompetition}">45</span>
                    <small>Applications in competition</small>
                </div>
            </div>
            <div class="govuk-grid-column-one-quarter">
                <div class="highlight-panel highlight-panel-padded">
                    <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.applicationsInPanel}">23</span>
                    <small>Assigned to interview panel</small>
                </div>
            </div>
        </div>

        <dl class="standard-definition-list govuk-!-margin-top-6">
            <dt>Innovation sector</dt>
            <dd th:text="${model.innovationSector}">Health and life sciences</dd>

            <dt>Innovation area</dt>
            <dd th:text="${model.innovationArea}">Agriculture and food</dd>
        </dl>

        <div class="govuk-tabs">
            <h2 class="govuk-tabs__title">
                Invite assessors to interview panel
            </h2>
            <ul class="govuk-tabs__list">
                <li class="govuk-tabs__list-item">
                    <a th:href="@{/assessment/interview/competition/{competitionId}/applications/find(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Find</a>
                </li>
                <li class="govuk-tabs__list-item">
                    <a th:href="@{/assessment/interview/competition/{competitionId}/applications/invite(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Invite</a>
                </li>
                <li class="govuk-tabs__list-item govuk-tabs__list-item--selected">
                    <a th:href="@{/assessment/interview/competition/{competitionId}/applications/view-status(competitionId=${model.competitionId})}" class="govuk-tabs__tab">View status</a>
                </li>
            </ul>
            <section class="govuk-tabs__panel">
                <div class="govuk-body govuk-grid-row sorting">
                    <div class="govuk-grid-column-one-half">
                        <span class="govuk-!-font-size-48 govuk-!-font-weight-bold" th:text="${model.pagination.totalCount}">20</span>
                        <span class="govuk-!-font-size-19 govuk-!-font-weight-bold">applications assigned</span>
                    </div>

                </div>

                <div class="table-overflow">
                    <table class="govuk-table">
                        <thead class="govuk-table__head">
                        <tr class="govuk-table__row">
                            <th scope="col" class="govuk-table__header width-80">Application number</th>
                            <th class="govuk-table__header" scope="col">Project title</th>
                            <th class="govuk-table__header" scope="col">Lead organisation</th>
                            <th class="govuk-table__header" scope="col">Status</th>
                            <th class="govuk-table__header" scope="col"></th>
                        </tr>
                        </thead>
                        <tbody class="govuk-table__body">
                        <tr class="govuk-table__row" th:each="app : ${model.applications}">
                            <td class="govuk-table__cell">
                                <a th:href="@{~/application/{applicationId}/summary(applicationId=${app.applicationId})}"<commit_msg>IFS-8066: correcting link to reference the internal user endpoint<commit_after><!DOCTYPE html>
<html lang="en" class="govuk-template" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:insert="fragments/layout :: head" th:with="pageTitle='Assign applications to interview panel'" />
</head>

<body class="govuk-template__body competition-management competition-overview">
<th:block th:insert="fragments/layout :: body-start" />
<th:block th:insert="fragments/layout :: global-header" />

<div class="govuk-width-container">
    <th:block th:insert="fragments/layout :: phase-banner" />
    <th:block th:insert="fragments/layout :: header-sub" th:with="linkTitle='Manage interview panel',linkUrl=@{/assessment/interview/competition/{competitionId}(competitionId=${model.competitionId})}" />

    <main class="govuk-main-wrapper" id="main-content" role="main">
        <th:block th:insert="fragments/layout :: page-title"
                  th:with="pageTitle='Assign applications to interview panel',subTitle=${model.competitionId + ': ' + model.competitionName},size='govuk-heading-xl'"/>

        <h2 class="govuk-heading-m">Key statistics</h2>

        <div class="govuk-grid-row">
            <div class="govuk-grid-column-one-quarter">
                <div class="highlight-panel highlight-panel-padded">
                    <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.applicationsInCompetition}">45</span>
                    <small>Applications in competition</small>
                </div>
            </div>
            <div class="govuk-grid-column-one-quarter">
                <div class="highlight-panel highlight-panel-padded">
                    <span class="govuk-heading-l govuk-!-margin-0" th:text="${model.applicationsInPanel}">23</span>
                    <small>Assigned to interview panel</small>
                </div>
            </div>
        </div>

        <dl class="standard-definition-list govuk-!-margin-top-6">
            <dt>Innovation sector</dt>
            <dd th:text="${model.innovationSector}">Health and life sciences</dd>

            <dt>Innovation area</dt>
            <dd th:text="${model.innovationArea}">Agriculture and food</dd>
        </dl>

        <div class="govuk-tabs">
            <h2 class="govuk-tabs__title">
                Invite assessors to interview panel
            </h2>
            <ul class="govuk-tabs__list">
                <li class="govuk-tabs__list-item">
                    <a th:href="@{/assessment/interview/competition/{competitionId}/applications/find(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Find</a>
                </li>
                <li class="govuk-tabs__list-item">
                    <a th:href="@{/assessment/interview/competition/{competitionId}/applications/invite(competitionId=${model.competitionId})}" class="govuk-tabs__tab">Invite</a>
                </li>
                <li class="govuk-tabs__list-item govuk-tabs__list-item--selected">
                    <a th:href="@{/assessment/interview/competition/{competitionId}/applications/view-status(competitionId=${model.competitionId})}" class="govuk-tabs__tab">View status</a>
                </li>
            </ul>
            <section class="govuk-tabs__panel">
                <div class="govuk-body govuk-grid-row sorting">
                    <div class="govuk-grid-column-one-half">
                        <span class="govuk-!-font-size-48 govuk-!-font-weight-bold" th:text="${model.pagination.totalCount}">20</span>
                        <span class="govuk-!-font-size-19 govuk-!-font-weight-bold">applications assigned</span>
                    </div>

                </div>

                <div class="table-overflow">
                    <table class="govuk-table">
                        <thead class="govuk-table__head">
                        <tr class="govuk-table__row">
                            <th scope="col" class="govuk-table__header width-80">Application number</th>
                            <th class="govuk-table__header" scope="col">Project title</th>
                            <th class="govuk-table__header" scope="col">Lead organisation</th>
                            <th class="govuk-table__header" scope="col">Status</th>
                            <th class="govuk-table__header" scope="col"></th>
                        </tr>
                        </thead>
                        <tbody class="govuk-table__body">
                        <tr class="govuk-table__row" th:each="app : ${model.applications}">
                            <td class="govuk-table__cell">
                                <a th:href="@{~/management/competition/{competitionId}/application/{applicationId}(competitionId=${model.competitionId},applicationId=${app.applicationId})}"
{'fraction_non_alphanumeric': 0.15306980656013458, 'fraction_numerical': 0.004415475189234651, 'mean_word_length': 2.2149374788779994, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 179, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3322702', 'n_tokens_mistral': 2804, 'n_tokens_neox': 2668, 'n_words': 391}