Skip to content

Commit

Permalink
Merge pull request #239 from SkillsFundingAgency/CON-3663_VirtualPage…
Browse files Browse the repository at this point in the history
…Values

CON-3663 Added virtual page values to views
  • Loading branch information
LACrossley authored Aug 5, 2021
2 parents 14ceab9 + 69223dd commit 3ffc418
Show file tree
Hide file tree
Showing 25 changed files with 27 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

@{
ViewData["Title"] = "Changing training provider - Apprenticeship stopped";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/change-provider/apprentice-stopped";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@{
ViewData["Title"] = "Are you sure you want to cancel this request? - Apprenticeship service - GOV.UK";
var apprenticeDisplayName = Model.ApprenticeName.EndsWith("s") ? Model.ApprenticeName + "'" : Model.ApprenticeName + "'s";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/change-provider/cancel";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

@{
ViewData["Title"] = "Changing training provider - Apprenticeship service - GOV.UK";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/change-provider-inform";
}

<div class="das-panel das-panel--featured das-!-text-align-left">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@{
ViewData["Title"] = "Change of training provider requested - Apprenticeship service - GOV.UK";
var apprenticeDisplayName = Model.ApprenticeName.EndsWith("s") ? Model.ApprenticeName + "'" : Model.ApprenticeName + "'s";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/change-provider-requested";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
ViewBag.Title = "Which status change would you like to make?";
ViewBag.Section = "apprentices";
ViewBag.PageId = "change-apprentice-status";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/change-apprentice-status";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@

@{
ViewData["Title"] = $"Confirm details and send request to {Model.ProviderName} - Apprenticeship service - GOV.UK";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/confirm-change-of-provider-details";

var apprenticeDisplayName = Model.ApprenticeFullName.EndsWith("s") ? Model.ApprenticeFullName + "'" : Model.ApprenticeFullName + "'s";

var queryData = new
{
ProviderId = Model.ProviderId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ViewBag.Title = "Confirm changes";
ViewBag.Section = "apprentices";
ViewBag.PageID = "confirm-edited-changes";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/confirm-edited-changes";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

pageHeading = pageTitle = "Confirm apprenticeship stop";
ViewBag.Title = pageTitle;
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/confirm-stop-apprenticeship";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ViewBag.Title = "Review changes";
ViewBag.Section = "apprentices";
ViewBag.PageId = "review-datalock-changes";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/review-datalock-changes";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ViewBag.Title = "Edit Apprentice detail";
ViewBag.Section = "apprentices";
ViewBag.PageId = "edit-apprentices-detail";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/edit-apprentice-details";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
ViewBag.Title = "When did this apprenticeship training stop?";
ViewBag.PageId = "edit-stopdate";
ViewBag.Section = "apprentices";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/edit-stopdate";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

@{
ViewData["Title"] = "Enter the new training provider's name or reference number (UKPRN) - Apprenticeship service - GOV.UK";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/enter-new-training-provider";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
ViewBag.Title = pageTitle;
ViewBag.PageId = pageId;
ViewBag.Section = "apprentices";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/apprentice-made-redundant";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
ViewBag.Title = pageTitle;
ViewBag.PageId = pageId;
ViewBag.Section = "apprentices";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/apprentice-paused";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
string pageTitle;
string pageId;
string pageHeading;

pageTitle = "Apprenticeship resumed";
pageId = "apprentice-resumed";
pageHeading = "Resume apprenticeship";

ViewBag.Title = pageTitle;
ViewBag.PageId = pageId;
ViewBag.Section = "apprentices";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/apprentice-resumed";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ViewBag.Title = "Review changes";
ViewBag.Section = "apprentices";
ViewBag.PageID = "review-changes";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/review-changes";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

@{
ViewData["Title"] = "When did this apprenticeship training stop?";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/stop-apprenticeship";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
ViewBag.Title = "View changes";
ViewBag.Section = "apprentices";
ViewBag.PageID = "view-changes";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/view-changes";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

@{
ViewData["Title"] = "What is the new planned training end date with the new training provider? - Apprenticeship service - GOV.UK";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/what-is-new-end-date";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

@{
ViewBag.Title = $"What is the agreed price of completing the training with {Model.ProviderName}? ";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/what-is-new-price";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

@{
ViewData["Title"] = "What is the start date with the new training provider? - Apprenticeship service - GOV.UK";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/add-apprentice-start-date";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

@{
ViewData["Title"] = "Who will enter the new course dates and price? - Apprenticeship service - GOV.UK";
ViewBag.GaData.Vpv = "/accounts/apprentices/manage/who-will-enter-details";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ViewBag.Title = $"Transfer request {Model.TransferApprovalStatus}";
ViewBag.Section = "";
ViewBag.PageID = "transfer-confirmation";
ViewBag.GaData.Vpv = "/accounts/apprentices/legalEntity/create/transfer-confirmation";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ViewBag.Title = "Transfer request details";
ViewBag.Section = "apprentices";
ViewBag.PageID = "approve-transfer-cohort";
ViewBag.GaData.Vpv = "/accounts/apprentices/legalEntity/create/choose-organisation";
ViewBag.GaData.Vpv = "/accounts/apprentices/legalEntity/create/transfer-details-for-receiver";
}

<div class="govuk-grid-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
ViewBag.Title = "Transfer request details";
ViewBag.Section = "apprentices";
ViewBag.PageID = "approve-transfer-cohort";
ViewBag.GaData.Vpv = "/accounts/apprentices/legalEntity/create/choose-organisation";
ViewBag.GaData.Vpv = "/accounts/apprentices/legalEntity/create/transfer-details-for-sender";
}

<div class="govuk-grid-row">
Expand Down

0 comments on commit 3ffc418

Please sign in to comment.