Skip to content

Commit

Permalink
Merge pull request #77 from SkillsFundingAgency/CV-501_ConfirmationPa…
Browse files Browse the repository at this point in the history
…geBacklinksV2

Cv 501 confirmation page backlinks v2
  • Loading branch information
subhamano authored Dec 4, 2019
2 parents 3f7ab1f + abcd1f4 commit 984c4a3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ public async Task<IActionResult> Finished(FinishedRequest request)

return View(new FinishedViewModel
{
AccountHashedId = request.AccountHashedId,
CohortReference = request.CohortReference,
LegalEntityName = response.LegalEntityName,
ProviderName = response.ProviderName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ namespace SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort
{
public class FinishedViewModel
{
public string AccountHashedId { get; set; }
public string CohortReference { get; set; }
public string LegalEntityName { get; set; }
public string ProviderName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using SFA.DAS.CommitmentsV2.Types
@using SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort
@using SFA.DAS.EmployerUrlHelper.Mvc
@model SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort.ApprovedViewModel

Expand Down Expand Up @@ -59,7 +58,6 @@
</div>
</div>


@section Back
{
<a id="back-link" class="govuk-back-link" href="@Url.CommitmentsLink($"/accounts/{Model.AccountHashedId}/apprentices/home")">Back to Apprentices</a>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort.FinishedViewModel
@using SFA.DAS.EmployerUrlHelper.Mvc
@model SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort.FinishedViewModel

@{
ViewData["Title"] = "Instructions sent";
Expand Down Expand Up @@ -35,4 +36,9 @@
<a class="govuk-button" href="https://www.smartsurvey.co.uk/s/apprenticeshipservicefeedback">Take the survey</a>
</div>
</div>
</div>
</div>

@section Back
{
<a id="back-link" class="govuk-back-link" href="@Url.CommitmentsLink($"/accounts/{Model.AccountHashedId}/apprentices/home")">Back to Apprentices</a>
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using SFA.DAS.CommitmentsV2.Types
@using SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort
@using SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort
@using SFA.DAS.EmployerUrlHelper.Mvc
@model SentViewModel

Expand Down Expand Up @@ -28,7 +27,6 @@
</dl>
<h2 class="govuk-heading-m">What's next?</h2>
<p class="govuk-body">Your training provider will review these apprentice details and contact you as soon as possible.</p>


<div class="govuk-inset-text das-inset-text--filled">
<h3 class="govuk-heading-m govuk-!-margin-bottom-2">Help us improve this section</h3>
Expand All @@ -38,8 +36,7 @@
</div>
</div>


@section Back
{
@section Back
{
<a id="back-link" class="govuk-back-link" href="@Url.CommitmentsLink($"/accounts/{Model.AccountHashedId}/apprentices/home")">Back to Apprentices</a>
}

0 comments on commit 984c4a3

Please sign in to comment.