From 9367c393ad10b6876e148512d4252db000c2ad29 Mon Sep 17 00:00:00 2001 From: katie-gardner-AND Date: Thu, 5 Sep 2024 10:36:17 +0100 Subject: [PATCH] chore: Simplify hiding js-only elements --- .../Views/Content/CsIndex.cshtml | 26 +------------------ .../Views/Shared/_CsLayout.cshtml | 7 +++++ .../Views/Shared/_Feedback.cshtml | 2 +- .../Views/Shared/_Print.cshtml | 2 +- 4 files changed, 10 insertions(+), 27 deletions(-) diff --git a/src/Dfe.ContentSupport.Web/Views/Content/CsIndex.cshtml b/src/Dfe.ContentSupport.Web/Views/Content/CsIndex.cshtml index 3087d3a..f0cba6a 100644 --- a/src/Dfe.ContentSupport.Web/Views/Content/CsIndex.cshtml +++ b/src/Dfe.ContentSupport.Web/Views/Content/CsIndex.cshtml @@ -76,28 +76,4 @@ addPrintButtonEventListener(); } - - -} \ No newline at end of file +} diff --git a/src/Dfe.ContentSupport.Web/Views/Shared/_CsLayout.cshtml b/src/Dfe.ContentSupport.Web/Views/Shared/_CsLayout.cshtml index fa842bf..5aed44a 100644 --- a/src/Dfe.ContentSupport.Web/Views/Shared/_CsLayout.cshtml +++ b/src/Dfe.ContentSupport.Web/Views/Shared/_CsLayout.cshtml @@ -69,6 +69,13 @@ @RenderSection("BodyEnd", false) diff --git a/src/Dfe.ContentSupport.Web/Views/Shared/_Feedback.cshtml b/src/Dfe.ContentSupport.Web/Views/Shared/_Feedback.cshtml index c6fbf40..b7fc3d0 100644 --- a/src/Dfe.ContentSupport.Web/Views/Shared/_Feedback.cshtml +++ b/src/Dfe.ContentSupport.Web/Views/Shared/_Feedback.cshtml @@ -17,7 +17,7 @@ @if (track) { -