From 703354ea49deecea46a520357c46dd05a8b34f89 Mon Sep 17 00:00:00 2001 From: Daniel Clarke Date: Wed, 26 Jun 2024 16:32:07 +0100 Subject: [PATCH 1/6] basic implementation of new confirm qualification page --- .../Entities/ConfirmQualificationPage.cs | 16 ++++ .../Services/ContentfulContentService.cs | 15 +++- .../Services/IContentService.cs | 2 + .../Content/MockContentfulService.cs | 5 ++ .../ConfirmQualificationController.cs | 82 +++++++++++++++++ .../Content/ConfirmQualificationPageModel.cs | 25 ++++++ .../Views/ConfirmQualification/index.cshtml | 87 +++++++++++++++++++ .../Views/QualificationDetails/Get.cshtml | 2 +- .../Components/CookiesBanner/Default.cshtml | 2 +- 9 files changed, 233 insertions(+), 3 deletions(-) create mode 100644 src/Dfe.EarlyYearsQualification.Content/Entities/ConfirmQualificationPage.cs create mode 100644 src/Dfe.EarlyYearsQualification.Web/Controllers/ConfirmQualificationController.cs create mode 100644 src/Dfe.EarlyYearsQualification.Web/Models/Content/ConfirmQualificationPageModel.cs create mode 100644 src/Dfe.EarlyYearsQualification.Web/Views/ConfirmQualification/index.cshtml diff --git a/src/Dfe.EarlyYearsQualification.Content/Entities/ConfirmQualificationPage.cs b/src/Dfe.EarlyYearsQualification.Content/Entities/ConfirmQualificationPage.cs new file mode 100644 index 00000000..ad2a6783 --- /dev/null +++ b/src/Dfe.EarlyYearsQualification.Content/Entities/ConfirmQualificationPage.cs @@ -0,0 +1,16 @@ +namespace Dfe.EarlyYearsQualification.Content.Entities; + +public class ConfirmQualificationPage +{ + public string Heading { get; init; } = string.Empty; + public string QualificationLabel { get; init; } = string.Empty; + public string LevelLabel { get; init; } = string.Empty; + public string AwardingOrganisationLabel { get; init; } = string.Empty; + public string DateAddedLabel { get; init; } = string.Empty; + public string RadioHeading { get; init; } = string.Empty; + public List