Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void PageTitleIsCorrect(string employerName)
{
_viewModel.EmployerAccountName = employerName;
//Assert
_viewModel.PageTitle.Should().EndWith(employerName);
_viewModel.PageTitle.Should().Be("Select learner from ILR");
}

[TestCase(true, "das-table__sort--desc")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class SelectLearnerRecordViewModel : IAuthorizationContextModel
public Guid? ReservationId { get; set; }

public List<LearnerSummary> Learners { get; set; } = new();
public string PageTitle => $"Select apprentices from ILR for {EmployerAccountName}";
public string PageTitle => "Select learner from ILR";

public string SortedByHeaderClassName { get; set; }
public const string HeaderClassName = "das-table__sort";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,21 @@
<h1 class="govuk-heading-xl">@Model.PageTitle</h1>

<p class="govuk-body">
If you cannot find the apprentice you're looking for, try:
These are the learners you've submitted an ILR for that are linked to <strong>@Model.EmployerAccountName</strong>. It also includes any learners who are not linked to an employer in the ILR.
</p>

<ul class="govuk-list govuk-list--bullet xgovuk-list--spaced">
<li>refreshing this page</li>
<li>updating the ILR</li>
<li>
@if (!string.IsNullOrWhiteSpace(Model.CohortReference))
{
<a href="@Url.Action("AddDraftApprenticeshipCourse", "DraftApprenticeship", new {Model.ProviderId, Model.CohortReference, Model.ReservationId, Model.CacheKey})" class="govuk-link">
manually adding your apprentice
</a>
}
else
{
<a href="@Url.Action("SelectCourse", "Cohort", new {Model.ProviderId, Model.CacheKey, Model.ReservationId})" class="govuk-link">
manually adding your apprentice
</a>
}
</li>
</ul>
<details class="govuk-details" data-module="govuk-details">
<summary class="govuk-details__summary">
<span class="govuk-details__summary-text">
I can't find the learner I need
</span>
</summary>
<div class="govuk-details__text">
<p class="govuk-body">
It can take up to 15 minutes for these records to update after an ILR file is submitted. Try refreshing this page after 15 minutes.
</p>
</div>
</details>
</div>
</div>

Expand Down
Loading