From eb062eacf9ba4b128a84e2ff68e1da080d397806 Mon Sep 17 00:00:00 2001 From: nileshgnagepatil Date: Mon, 25 Sep 2023 14:45:42 +0100 Subject: [PATCH] Added menu item for Resources. --- .../Views/Shared/_ErrorLayout.cshtml | 8 ++++++++ Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml | 2 ++ .../content-regression-tests/tests/header.spec.ts | 1 + 3 files changed, 11 insertions(+) diff --git a/Childrens-Social-Care-CPD/Views/Shared/_ErrorLayout.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_ErrorLayout.cshtml index 3776f4e1..072850e2 100644 --- a/Childrens-Social-Care-CPD/Views/Shared/_ErrorLayout.cshtml +++ b/Childrens-Social-Care-CPD/Views/Shared/_ErrorLayout.cshtml @@ -78,6 +78,14 @@ +
  • + + Resources + + +
  • diff --git a/Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml index 1e65501c..c113f465 100644 --- a/Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml +++ b/Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml @@ -53,6 +53,8 @@ RenderMenuItem("career", "Career stages", "career-stages", category == "Career information"); RenderMenuItem("developmentProgrammes", "Development programmes", "development-programmes", category == "Development programmes"); RenderMenuItem("exploreRoles", "Explore roles", "explore-roles", category == "Explore roles"); + RenderMenuItem("resources", "Resources", "training-resources", category == "Resources"); + } diff --git a/browser-tests/content-regression-tests/tests/header.spec.ts b/browser-tests/content-regression-tests/tests/header.spec.ts index f55c6daa..da310da2 100644 --- a/browser-tests/content-regression-tests/tests/header.spec.ts +++ b/browser-tests/content-regression-tests/tests/header.spec.ts @@ -11,6 +11,7 @@ test.describe('Header', () => { ['Career stages', '/career-stages'], ['Development programmes', '/development-programmes'], ['Explore roles', '/explore-roles'], + ['Resources', '/training-resources'], ] for (const link of links) {