From 36db3fbcbbb0c94cb1731e6847e21b58296cf8af Mon Sep 17 00:00:00 2001 From: Sam C <156680559+sam-c-dfe@users.noreply.github.com> Date: Fri, 26 Jul 2024 11:38:37 +0100 Subject: [PATCH] EYQB-469: Updated the page titles to show differently in tracking (#271) --- src/Dfe.EarlyYearsQualification.Web/Views/Advice/Advice.cshtml | 2 +- src/Dfe.EarlyYearsQualification.Web/Views/Questions/Date.cshtml | 2 +- .../Views/Questions/Dropdown.cshtml | 2 +- .../Views/Questions/Radio.cshtml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Dfe.EarlyYearsQualification.Web/Views/Advice/Advice.cshtml b/src/Dfe.EarlyYearsQualification.Web/Views/Advice/Advice.cshtml index c92ceeba..8195a3e6 100644 --- a/src/Dfe.EarlyYearsQualification.Web/Views/Advice/Advice.cshtml +++ b/src/Dfe.EarlyYearsQualification.Web/Views/Advice/Advice.cshtml @@ -1,7 +1,7 @@ @model Dfe.EarlyYearsQualification.Web.Models.Content.AdvicePageModel @{ - ViewData["Title"] = "Advice"; + ViewData["Title"] = Model.Heading; } @section BeforeMainContent { diff --git a/src/Dfe.EarlyYearsQualification.Web/Views/Questions/Date.cshtml b/src/Dfe.EarlyYearsQualification.Web/Views/Questions/Date.cshtml index d6d158e1..68b1e710 100644 --- a/src/Dfe.EarlyYearsQualification.Web/Views/Questions/Date.cshtml +++ b/src/Dfe.EarlyYearsQualification.Web/Views/Questions/Date.cshtml @@ -1,7 +1,7 @@ @model Dfe.EarlyYearsQualification.Web.Models.Content.QuestionModels.DateQuestionModel @{ - ViewData["Title"] = "Questions"; + ViewData["Title"] = Model.Question; } @section BeforeMainContent { diff --git a/src/Dfe.EarlyYearsQualification.Web/Views/Questions/Dropdown.cshtml b/src/Dfe.EarlyYearsQualification.Web/Views/Questions/Dropdown.cshtml index f18dc037..15b434f3 100644 --- a/src/Dfe.EarlyYearsQualification.Web/Views/Questions/Dropdown.cshtml +++ b/src/Dfe.EarlyYearsQualification.Web/Views/Questions/Dropdown.cshtml @@ -1,7 +1,7 @@ @model Dfe.EarlyYearsQualification.Web.Models.Content.QuestionModels.DropdownQuestionModel @{ - ViewData["Title"] = "Questions"; + ViewData["Title"] = Model.Question; }