Skip to content

Commit 0442273

Browse files
authored
Merge pull request #1201 from TechnologyEnhancedLearning/Develop/Fixes/TD-5560
LH Navigation Update for the open api
2 parents 0fd9547 + 6463dfd commit 0442273

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

OpenAPI/LearningHub.Nhs.OpenApi/Controllers/UserController.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ private List<Dictionary<string, object>> MenuItems(NavigationModel model)
299299
},
300300
new Dictionary<string, object>
301301
{
302-
{ "title", "My Contributions" },
302+
{ "title", "My contributions" },
303303
{ "url", this.learningHubConfig.MyContributionsUrl },
304304
{ "visible", model.ShowMyContributions },
305305
},
@@ -310,6 +310,12 @@ private List<Dictionary<string, object>> MenuItems(NavigationModel model)
310310
{ "visible", model.ShowMyBookmarks },
311311
},
312312
new Dictionary<string, object>
313+
{
314+
{ "title", "My learning" },
315+
{ "url", this.learningHubConfig.MyLearningUrl },
316+
{ "visible", model.ShowMyLearning },
317+
},
318+
new Dictionary<string, object>
313319
{
314320
{ "title", "Help" },
315321
{ "url", this.learningHubConfig.HelpUrl },

OpenAPI/LearningHub.Nhs.OpenApi/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"MyRecordsUrl": "",
9999
"NotificationsUrl": "/notification",
100100
"RegisterUrl": "/register",
101-
"SignOutUrl": "",
101+
"SignOutUrl": "/home/logout",
102102
"MyAccountUrl": "/myaccount",
103103
"BrowseCataloguesUrl": "/allcatalogue"
104104
},

0 commit comments

Comments
 (0)