From 6b275e87234b267f44b93cc2abb13576878acb28 Mon Sep 17 00:00:00 2001 From: Oluwatobi Awe Date: Fri, 30 Sep 2022 12:23:55 +0100 Subject: [PATCH] Removed Manual Population of Route Data Dictionary for Competency Excel Upload --- .../Frameworks/Developer/ImportCompleted.cshtml | 2 +- .../Views/Frameworks/Developer/ImportFailed.cshtml | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/ImportCompleted.cshtml b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/ImportCompleted.cshtml index 9424ce922c..e99558636e 100644 --- a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/ImportCompleted.cshtml +++ b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/ImportCompleted.cshtml @@ -10,7 +10,7 @@ var errorHasOccurred = !ViewData.ModelState.IsValid; var cancelLinkData = Html.GetRouteValues(); } - + @section NavMenuItems { } diff --git a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/ImportFailed.cshtml b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/ImportFailed.cshtml index 545857b706..c8ce3be778 100644 --- a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/ImportFailed.cshtml +++ b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/ImportFailed.cshtml @@ -4,14 +4,13 @@ @using Microsoft.Extensions.Configuration @model ImportCompetenciesResultsViewModel @{ - ViewData["Title"] = "Framework - Import Failed"; - ViewData["Application"] = "Framework Service"; - ViewData["HeaderPathName"] = "Framework Service"; - var errorHasOccurred = !ViewData.ModelState.IsValid; - var cancelLinkData = Html.GetRouteValues(); - cancelLinkData.Add("tabname", "Structure"); + ViewData["Title"] = "Framework - Import Failed"; + ViewData["Application"] = "Framework Service"; + ViewData["HeaderPathName"] = "Framework Service"; + var errorHasOccurred = !ViewData.ModelState.IsValid; + var cancelLinkData = Html.GetRouteValues(); } - + @section NavMenuItems { }