diff --git a/DigitalLearningSolutions.Web/ViewModels/Common/ViewComponents/SideMenuLinkWithHrefViewModel.cs b/DigitalLearningSolutions.Web/ViewModels/Common/ViewComponents/SideMenuLinkWithHrefViewModel.cs index 5c852945b4..79d024bddd 100644 --- a/DigitalLearningSolutions.Web/ViewModels/Common/ViewComponents/SideMenuLinkWithHrefViewModel.cs +++ b/DigitalLearningSolutions.Web/ViewModels/Common/ViewComponents/SideMenuLinkWithHrefViewModel.cs @@ -4,15 +4,17 @@ public class SideMenuLinkWithHrefViewModel { + public readonly Dictionary? AspAllRouteData; public readonly string? Href; - - public readonly string LinkText; - public readonly bool IsCurrentPage; + public readonly string LinkText; - public readonly Dictionary? AspAllRouteData; - - public SideMenuLinkWithHrefViewModel(string hRef, string linkText, bool isCurrentPage, Dictionary? aspAllRouteData) + public SideMenuLinkWithHrefViewModel( + string hRef, + string linkText, + bool isCurrentPage, + Dictionary? aspAllRouteData + ) { Href = hRef; LinkText = linkText; diff --git a/DigitalLearningSolutions.Web/Views/Shared/Components/SideMenuLinkWithHref/Default.cshtml b/DigitalLearningSolutions.Web/Views/Shared/Components/SideMenuLinkWithHref/Default.cshtml index 2eee4e32d9..3acea5a251 100644 --- a/DigitalLearningSolutions.Web/Views/Shared/Components/SideMenuLinkWithHref/Default.cshtml +++ b/DigitalLearningSolutions.Web/Views/Shared/Components/SideMenuLinkWithHref/Default.cshtml @@ -7,6 +7,8 @@ } else {
  • - @Model.LinkText + + @Model.LinkText +
  • } diff --git a/DigitalLearningSolutions.Web/Views/Support/Shared/_SupportSideNavMenu.cshtml b/DigitalLearningSolutions.Web/Views/Support/Shared/_SupportSideNavMenu.cshtml index 3977385815..78234da60c 100644 --- a/DigitalLearningSolutions.Web/Views/Support/Shared/_SupportSideNavMenu.cshtml +++ b/DigitalLearningSolutions.Web/Views/Support/Shared/_SupportSideNavMenu.cshtml @@ -10,35 +10,52 @@

    Support

      - - - - - - - - - - - + + + @if (Model.CurrentPage == SupportPage.HelpDocumentation) + { +
    • + Help documentation +
    • + } + else + { +
    • + + Help documentation + +
    • + } + + + + + + + + @if (Model.CurrentPage == SupportPage.ChangeRequests) + { +
    • + Change requests +
    • + } + else + { +
    • + + Change requests + +
    • + } +