From 4935eb18ace64417b35d6b6560aa6650a55a1639 Mon Sep 17 00:00:00 2001 From: Dalin Akrasi Date: Tue, 16 Apr 2024 12:06:30 +0100 Subject: [PATCH 01/13] Apply additional corrections for TD3162 and TD3163 --- LearningHub.Nhs.WebUI/Views/Catalogue/Index.cshtml | 5 +++-- LearningHub.Nhs.WebUI/Views/Catalogue/_SearchBar.cshtml | 4 ++-- LearningHub.Nhs.WebUI/Views/Home/_CatalogueCard.cshtml | 4 ++-- LearningHub.Nhs.WebUI/Views/Home/_ResourceCard.cshtml | 4 ++-- .../Views/Resource/_ResourceInformation.cshtml | 9 ++++++++- LearningHub.Nhs.WebUI/Views/Search/_SearchBar.cshtml | 4 ++-- LearningHub.Nhs.WebUI/Views/Shared/_NavPartial.cshtml | 4 ++-- 7 files changed, 21 insertions(+), 13 deletions(-) diff --git a/LearningHub.Nhs.WebUI/Views/Catalogue/Index.cshtml b/LearningHub.Nhs.WebUI/Views/Catalogue/Index.cshtml index 933391f2c..23be8c9a0 100644 --- a/LearningHub.Nhs.WebUI/Views/Catalogue/Index.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Catalogue/Index.cshtml @@ -126,7 +126,7 @@
@if (!string.IsNullOrEmpty(Model.Catalogue.BadgeUrl)) { - catalogue badge + ELFH catalogue badge }

@(ViewBag.ActiveTab == "browse" && Model.NodeDetails != null ? Model.NodeDetails.Name : Model.Catalogue.Name)

@@ -146,7 +146,8 @@ asp-route-title="@Model.Catalogue.Name.Truncate(60)" asp-route-nodeId="@Model.Catalogue.NodeId" asp-route-path="@Model.Catalogue.Url" - asp-route-returnUrl="@(Context.Request.Path + Context.Request.QueryString)">@(Model.Catalogue.IsBookmarked ? "Remove from" : "Add to") my bookmarks + asp-route-returnUrl="@(Context.Request.Path + Context.Request.QueryString)" + aria-label="@(Model.Catalogue.IsBookmarked ? "Remove from" : "Add to") my bookmarks">@(Model.Catalogue.IsBookmarked ? "Remove from" : "Add to") my bookmarks
} diff --git a/LearningHub.Nhs.WebUI/Views/Catalogue/_SearchBar.cshtml b/LearningHub.Nhs.WebUI/Views/Catalogue/_SearchBar.cshtml index 34a983eaa..2e7f5c50b 100644 --- a/LearningHub.Nhs.WebUI/Views/Catalogue/_SearchBar.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Catalogue/_SearchBar.cshtml @@ -2,8 +2,8 @@