Skip to content

Commit 38ce56d

Browse files
Merge pull request #1347 from TechnologyEnhancedLearning/Develop/Fixes/TD-5764-Bookmarks-page-redesign
TD-5764: Bookmarks sub page implementation
2 parents b40a0b6 + 008a464 commit 38ce56d

File tree

3 files changed

+733
-93
lines changed

3 files changed

+733
-93
lines changed

LearningHub.Nhs.WebUI/Models/SideMenu/SideNavigationConfiguration.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ public static IEnumerable<SideNavigationGroup> GetGroupedMenus()
6363
Text = "Recent learning",
6464
Controller = "MyLearning",
6565
Action = "Index",
66-
IsActive = route => MatchRoute(route, "Activity", "Recent"),
66+
IsActive = route => MatchRoute(route, "MyLearning", "Index"),
6767
},
6868
new SideNavigationItem
6969
{
7070
Text = "Bookmarks",
71-
Controller = "MyLearning",
72-
Action = "Bookmark",
73-
IsActive = route => MatchRoute(route, "Activity", "Bookmark"),
71+
Controller = "Bookmark",
72+
Action = "Index",
73+
IsActive = route => MatchRoute(route, "Bookmark", "Index"),
7474
},
7575
new SideNavigationItem
7676
{
@@ -84,7 +84,7 @@ public static IEnumerable<SideNavigationGroup> GetGroupedMenus()
8484
Text = "Learning history",
8585
Controller = "MyLearning",
8686
Action = "LearningHistory",
87-
IsActive = route => MatchRoute(route, "Activity", "LearningHistory"),
87+
IsActive = route => MatchRoute(route, "MyLearning", "LearningHistory"),
8888
},
8989
},
9090
},

0 commit comments

Comments
 (0)