Skip to content

Commit d54e859

Browse files
authored
Merge pull request #245 from TechnologyEnhancedLearning/Develop/Fixes/TD-3703-Updates
TD-3703-Breadcrumb doesn't say where it links to - replace "parent" with with parent page title
2 parents f6421b6 + a157e64 commit d54e859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LearningHub.Nhs.WebUI/Views/Shared/_Breadcrumbs.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
<div class="breadcrumbs display-desktop--hide nhsuk-u-padding-top-5 nhsuk-u-padding-bottom-6">
1414
@if (Model.ShowBackToParentOnMobile)
1515
{
16-
@* "Back to parent" view *@
16+
@* "parent view *@
1717
var parent = Model.Breadcrumbs.ElementAt(Model.Breadcrumbs.Count - 1);
1818

1919
<i class="fa-solid fa-chevron-left nhsuk-u-padding-top-1 nhsuk-u-padding-bottom-1 nhsuk-u-padding-left-2 nhsuk-u-padding-right-2"></i>
20-
<a href="@parent.Url">Back to parent</a>
20+
<a href="@parent.Url">@parent.Url</a>
2121
}
2222
else
2323
{

0 commit comments

Comments
 (0)