-
diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/globalcomponents/IconButton.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/globalcomponents/IconButton.vue
index 2ff2c9110..7e644a318 100644
--- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/globalcomponents/IconButton.vue
+++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/globalcomponents/IconButton.vue
@@ -48,7 +48,8 @@
}"
v-bind:disabled="disabled">
+ v-bind:aria-label="ariaLabel"
+ v-bind:role="iconRole">
{{ label }}
@@ -65,6 +66,7 @@
color: String,
shape: String,
size: String,
+ iconRole: String,
},
});
diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/models/contribute/contributeResourceModel.ts b/LearningHub.Nhs.WebUI/Scripts/vuesrc/models/contribute/contributeResourceModel.ts
index dc93c207a..a50fc6d4c 100644
--- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/models/contribute/contributeResourceModel.ts
+++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/models/contribute/contributeResourceModel.ts
@@ -41,7 +41,6 @@ export class AttachedFileModel {
export class GenericFileResourceModel {
resourceVersionId: number = 0;
file: ResourceFileModel = new ResourceFileModel();
- scormAiccContent: boolean = false;
authoredYear: number = 0;
authoredMonth: number = 0;
authoredDayOfMonth: number = 0;
diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/CaseOrAssessmentResource.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/CaseOrAssessmentResource.vue
index e53397927..e3f75c8d8 100644
--- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/CaseOrAssessmentResource.vue
+++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/CaseOrAssessmentResource.vue
@@ -307,7 +307,7 @@
// Only make a new activity if the latest activity is finished
if (typeof latest.userScore === 'number') {
- const result = await activityRecorder.recordActivityLaunched(this.resourceItem.resourceVersionId, this.resourceItem.nodePathId, new Date(), reason);
+ const result = await activityRecorder.recordActivityLaunched(this.resourceItem.resourceTypeEnum, this.resourceItem.resourceVersionId, this.resourceItem.nodePathId, new Date(), reason);
this.shuffleMatchQuestionsState();
await activityRecorder.recordAssessmentResourceActivity(result.createdId, this.matchQuestionsState, reason);
}
diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/ResourceContent.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/ResourceContent.vue
index a1e80d97a..00ce8a124 100644
--- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/ResourceContent.vue
+++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/ResourceContent.vue
@@ -205,17 +205,13 @@
methods: {
initialise(): void {
// record activity on page created for resource article
- if (this.userAuthenticated && (
- this.resourceItem.resourceTypeEnum === ResourceType.ARTICLE
- || this.resourceItem.resourceTypeEnum === ResourceType.IMAGE
- || this.resourceItem.resourceTypeEnum === ResourceType.CASE) && this.hasResourceAccess()) {
-
+ if (this.userAuthenticated && this.resourceItem.resourceTypeEnum === ResourceType.CASE) {
this.recordActivityLaunched();
}
- else if (this.userAuthenticated && this.resourceItem.resourceTypeEnum === ResourceType.ASSESSMENT && this.hasResourceAccess()) {
+ else if (this.userAuthenticated && this.resourceItem.resourceTypeEnum === ResourceType.ASSESSMENT) {
this.getCurrentAssessmentActivity();
}
- if (this.resourceItem.resourceTypeEnum === ResourceType.AUDIO || this.resourceItem.resourceTypeEnum === ResourceType.VIDEO) {
+ else if (this.resourceItem.resourceTypeEnum === ResourceType.AUDIO || this.resourceItem.resourceTypeEnum === ResourceType.VIDEO) {
window.setTimeout(this.handleResize, 100);
}
},
@@ -252,8 +248,8 @@
if (!this.activityLogged) {
this.activityLogged = true;
-
- await activityRecorder.recordActivityLaunched(this.resourceItem.resourceVersionId, this.resourceItem.nodePathId, new Date())
+ await activityRecorder.recordActivityLaunched(this.resourceItem.resourceTypeEnum, this.resourceItem.resourceVersionId, this.resourceItem.nodePathId, new Date())
+ // await activityRecorder.recordActivityLaunched(this.resourceItem.resourceVersionId, this.resourceItem.nodePathId, new Date())
.then(response => {
this.launchedResourceActivityId = response.createdId;
this.checkUserCertificateAvailability();
diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/QuestionBlock.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/QuestionBlock.vue
index 6366ec7fe..20945e6f2 100644
--- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/QuestionBlock.vue
+++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/QuestionBlock.vue
@@ -9,7 +9,8 @@
+ :ariaLabel="isOpen ? `hide content` : `reveal content`"
+ iconRole="img">
diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/SingleQuestionAnswerView.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/SingleQuestionAnswerView.vue
index 21925aa52..c325b1446 100644
--- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/SingleQuestionAnswerView.vue
+++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/SingleQuestionAnswerView.vue
@@ -17,7 +17,8 @@
:class="getStyleFromAnswerType(answer.status)"/>

+ src="/images/medal-icon.svg"
+ alt="Medal Icon"/>
{{ answer.blockCollection.blocks[0].textBlock.content }}
diff --git a/LearningHub.Nhs.WebUI/ServiceCollectionExtension.cs b/LearningHub.Nhs.WebUI/ServiceCollectionExtension.cs
index 1d11fa64e..20582b444 100644
--- a/LearningHub.Nhs.WebUI/ServiceCollectionExtension.cs
+++ b/LearningHub.Nhs.WebUI/ServiceCollectionExtension.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI
+namespace LearningHub.Nhs.WebUI
{
using System;
using System.IdentityModel.Tokens.Jwt;
diff --git a/LearningHub.Nhs.WebUI/Services/ActivityService.cs b/LearningHub.Nhs.WebUI/Services/ActivityService.cs
index 75e73fe4f..a494bea91 100644
--- a/LearningHub.Nhs.WebUI/Services/ActivityService.cs
+++ b/LearningHub.Nhs.WebUI/Services/ActivityService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Net.Http;
diff --git a/LearningHub.Nhs.WebUI/Services/AzureMediaService.cs b/LearningHub.Nhs.WebUI/Services/AzureMediaService.cs
index b5c3d8a93..6068bc067 100644
--- a/LearningHub.Nhs.WebUI/Services/AzureMediaService.cs
+++ b/LearningHub.Nhs.WebUI/Services/AzureMediaService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Globalization;
diff --git a/LearningHub.Nhs.WebUI/Services/BaseHttpClient.cs b/LearningHub.Nhs.WebUI/Services/BaseHttpClient.cs
index 0d151e67e..a8ebda5ef 100644
--- a/LearningHub.Nhs.WebUI/Services/BaseHttpClient.cs
+++ b/LearningHub.Nhs.WebUI/Services/BaseHttpClient.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Concurrent;
diff --git a/LearningHub.Nhs.WebUI/Services/BaseService.cs b/LearningHub.Nhs.WebUI/Services/BaseService.cs
index 4bedd76b7..87d4cfc79 100644
--- a/LearningHub.Nhs.WebUI/Services/BaseService.cs
+++ b/LearningHub.Nhs.WebUI/Services/BaseService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using LearningHub.Nhs.WebUI.Interfaces;
using Microsoft.Extensions.Logging;
diff --git a/LearningHub.Nhs.WebUI/Services/BoomarkService.cs b/LearningHub.Nhs.WebUI/Services/BoomarkService.cs
index 03b0e4b0e..5a26148cc 100644
--- a/LearningHub.Nhs.WebUI/Services/BoomarkService.cs
+++ b/LearningHub.Nhs.WebUI/Services/BoomarkService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/CardService.cs b/LearningHub.Nhs.WebUI/Services/CardService.cs
index db3f72d73..d0795c0ad 100644
--- a/LearningHub.Nhs.WebUI/Services/CardService.cs
+++ b/LearningHub.Nhs.WebUI/Services/CardService.cs
@@ -1,7 +1,3 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
namespace LearningHub.Nhs.WebUI.Services
{
using System;
diff --git a/LearningHub.Nhs.WebUI/Services/CatalogueService.cs b/LearningHub.Nhs.WebUI/Services/CatalogueService.cs
index a96fc887c..fc95fe746 100644
--- a/LearningHub.Nhs.WebUI/Services/CatalogueService.cs
+++ b/LearningHub.Nhs.WebUI/Services/CatalogueService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/ContentService.cs b/LearningHub.Nhs.WebUI/Services/ContentService.cs
index 1afe0ed0e..92fe7a7dd 100644
--- a/LearningHub.Nhs.WebUI/Services/ContentService.cs
+++ b/LearningHub.Nhs.WebUI/Services/ContentService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Threading.Tasks;
diff --git a/LearningHub.Nhs.WebUI/Services/ContributeService.cs b/LearningHub.Nhs.WebUI/Services/ContributeService.cs
index 152b66298..0936801ee 100644
--- a/LearningHub.Nhs.WebUI/Services/ContributeService.cs
+++ b/LearningHub.Nhs.WebUI/Services/ContributeService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/CountryService.cs b/LearningHub.Nhs.WebUI/Services/CountryService.cs
index 072be8ba4..2c0c7e120 100644
--- a/LearningHub.Nhs.WebUI/Services/CountryService.cs
+++ b/LearningHub.Nhs.WebUI/Services/CountryService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/DashboardService.cs b/LearningHub.Nhs.WebUI/Services/DashboardService.cs
index f77a57633..f3ffdbc3a 100644
--- a/LearningHub.Nhs.WebUI/Services/DashboardService.cs
+++ b/LearningHub.Nhs.WebUI/Services/DashboardService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Text;
diff --git a/LearningHub.Nhs.WebUI/Services/DetectJsLogService.cs b/LearningHub.Nhs.WebUI/Services/DetectJsLogService.cs
index c32cbce27..da62c5cbd 100644
--- a/LearningHub.Nhs.WebUI/Services/DetectJsLogService.cs
+++ b/LearningHub.Nhs.WebUI/Services/DetectJsLogService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Threading.Tasks;
diff --git a/LearningHub.Nhs.WebUI/Services/FileService.cs b/LearningHub.Nhs.WebUI/Services/FileService.cs
index c5661edf5..99354b82f 100644
--- a/LearningHub.Nhs.WebUI/Services/FileService.cs
+++ b/LearningHub.Nhs.WebUI/Services/FileService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.IO;
diff --git a/LearningHub.Nhs.WebUI/Services/GradeService.cs b/LearningHub.Nhs.WebUI/Services/GradeService.cs
index 813e149d0..fb0a42074 100644
--- a/LearningHub.Nhs.WebUI/Services/GradeService.cs
+++ b/LearningHub.Nhs.WebUI/Services/GradeService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/HierarchyService.cs b/LearningHub.Nhs.WebUI/Services/HierarchyService.cs
index 960a6e5c2..4bd8f7734 100644
--- a/LearningHub.Nhs.WebUI/Services/HierarchyService.cs
+++ b/LearningHub.Nhs.WebUI/Services/HierarchyService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
diff --git a/LearningHub.Nhs.WebUI/Services/InternalSystemService.cs b/LearningHub.Nhs.WebUI/Services/InternalSystemService.cs
index ac02841f7..d578d9523 100644
--- a/LearningHub.Nhs.WebUI/Services/InternalSystemService.cs
+++ b/LearningHub.Nhs.WebUI/Services/InternalSystemService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Threading.Tasks;
diff --git a/LearningHub.Nhs.WebUI/Services/JobRoleService.cs b/LearningHub.Nhs.WebUI/Services/JobRoleService.cs
index 2d2c7e80b..bd4a2e689 100644
--- a/LearningHub.Nhs.WebUI/Services/JobRoleService.cs
+++ b/LearningHub.Nhs.WebUI/Services/JobRoleService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/LearningHubHttpClient.cs b/LearningHub.Nhs.WebUI/Services/LearningHubHttpClient.cs
index 80408b379..460ddabc3 100644
--- a/LearningHub.Nhs.WebUI/Services/LearningHubHttpClient.cs
+++ b/LearningHub.Nhs.WebUI/Services/LearningHubHttpClient.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System.Net.Http;
using LearningHub.Nhs.Caching;
diff --git a/LearningHub.Nhs.WebUI/Services/LearningHubReportApiClient.cs b/LearningHub.Nhs.WebUI/Services/LearningHubReportApiClient.cs
index ff03c14e1..1ae378c9b 100644
--- a/LearningHub.Nhs.WebUI/Services/LearningHubReportApiClient.cs
+++ b/LearningHub.Nhs.WebUI/Services/LearningHubReportApiClient.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/LocationService.cs b/LearningHub.Nhs.WebUI/Services/LocationService.cs
index 1af2bda9b..2ba678ab0 100644
--- a/LearningHub.Nhs.WebUI/Services/LocationService.cs
+++ b/LearningHub.Nhs.WebUI/Services/LocationService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/LoginWizardService.cs b/LearningHub.Nhs.WebUI/Services/LoginWizardService.cs
index 36945e10c..306d69304 100644
--- a/LearningHub.Nhs.WebUI/Services/LoginWizardService.cs
+++ b/LearningHub.Nhs.WebUI/Services/LoginWizardService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/MyLearningService.cs b/LearningHub.Nhs.WebUI/Services/MyLearningService.cs
index 9f23ed543..c6f9f2ffb 100644
--- a/LearningHub.Nhs.WebUI/Services/MyLearningService.cs
+++ b/LearningHub.Nhs.WebUI/Services/MyLearningService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/NavigationPermissionService.cs b/LearningHub.Nhs.WebUI/Services/NavigationPermissionService.cs
index 6e9a09e89..954b20ca7 100644
--- a/LearningHub.Nhs.WebUI/Services/NavigationPermissionService.cs
+++ b/LearningHub.Nhs.WebUI/Services/NavigationPermissionService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System.Security.Principal;
using System.Threading.Tasks;
diff --git a/LearningHub.Nhs.WebUI/Services/NotificationService.cs b/LearningHub.Nhs.WebUI/Services/NotificationService.cs
index dfa7cd7c8..d41ef30d6 100644
--- a/LearningHub.Nhs.WebUI/Services/NotificationService.cs
+++ b/LearningHub.Nhs.WebUI/Services/NotificationService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Net.Http;
diff --git a/LearningHub.Nhs.WebUI/Services/PDFReportService.cs b/LearningHub.Nhs.WebUI/Services/PDFReportService.cs
index e94ceb93b..bd7dc838a 100644
--- a/LearningHub.Nhs.WebUI/Services/PDFReportService.cs
+++ b/LearningHub.Nhs.WebUI/Services/PDFReportService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
diff --git a/LearningHub.Nhs.WebUI/Services/PartialFileUploadService.cs b/LearningHub.Nhs.WebUI/Services/PartialFileUploadService.cs
index 25f16c1b5..7a7a33616 100644
--- a/LearningHub.Nhs.WebUI/Services/PartialFileUploadService.cs
+++ b/LearningHub.Nhs.WebUI/Services/PartialFileUploadService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.IO;
diff --git a/LearningHub.Nhs.WebUI/Services/ProviderService.cs b/LearningHub.Nhs.WebUI/Services/ProviderService.cs
index 0d630ddb7..44a91495b 100644
--- a/LearningHub.Nhs.WebUI/Services/ProviderService.cs
+++ b/LearningHub.Nhs.WebUI/Services/ProviderService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/RatingService.cs b/LearningHub.Nhs.WebUI/Services/RatingService.cs
index ce84bfbf2..f08361096 100644
--- a/LearningHub.Nhs.WebUI/Services/RatingService.cs
+++ b/LearningHub.Nhs.WebUI/Services/RatingService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Net.Http;
diff --git a/LearningHub.Nhs.WebUI/Services/RegionService.cs b/LearningHub.Nhs.WebUI/Services/RegionService.cs
index f16b82935..6a48fcf5d 100644
--- a/LearningHub.Nhs.WebUI/Services/RegionService.cs
+++ b/LearningHub.Nhs.WebUI/Services/RegionService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/ResourceService.cs b/LearningHub.Nhs.WebUI/Services/ResourceService.cs
index 0cf0fe1f5..31608b797 100644
--- a/LearningHub.Nhs.WebUI/Services/ResourceService.cs
+++ b/LearningHub.Nhs.WebUI/Services/ResourceService.cs
@@ -1,7 +1,3 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
namespace LearningHub.Nhs.WebUI.Services
{
using System;
diff --git a/LearningHub.Nhs.WebUI/Services/RoadMapService.cs b/LearningHub.Nhs.WebUI/Services/RoadMapService.cs
index 240a6bc0b..210a06096 100644
--- a/LearningHub.Nhs.WebUI/Services/RoadMapService.cs
+++ b/LearningHub.Nhs.WebUI/Services/RoadMapService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Threading.Tasks;
diff --git a/LearningHub.Nhs.WebUI/Services/RoleService.cs b/LearningHub.Nhs.WebUI/Services/RoleService.cs
index aa74c7055..cfc3c8ff8 100644
--- a/LearningHub.Nhs.WebUI/Services/RoleService.cs
+++ b/LearningHub.Nhs.WebUI/Services/RoleService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/SearchService.cs b/LearningHub.Nhs.WebUI/Services/SearchService.cs
index 1951d1d23..3fc38d8a2 100644
--- a/LearningHub.Nhs.WebUI/Services/SearchService.cs
+++ b/LearningHub.Nhs.WebUI/Services/SearchService.cs
@@ -1,7 +1,3 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
namespace LearningHub.Nhs.WebUI.Services
{
using System;
diff --git a/LearningHub.Nhs.WebUI/Services/SpecialtyService.cs b/LearningHub.Nhs.WebUI/Services/SpecialtyService.cs
index caf862ee5..adc3f41bb 100644
--- a/LearningHub.Nhs.WebUI/Services/SpecialtyService.cs
+++ b/LearningHub.Nhs.WebUI/Services/SpecialtyService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/TermsAndConditionsService.cs b/LearningHub.Nhs.WebUI/Services/TermsAndConditionsService.cs
index a85d8873b..db00925e6 100644
--- a/LearningHub.Nhs.WebUI/Services/TermsAndConditionsService.cs
+++ b/LearningHub.Nhs.WebUI/Services/TermsAndConditionsService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Net.Http;
diff --git a/LearningHub.Nhs.WebUI/Services/UserApiHttpClient.cs b/LearningHub.Nhs.WebUI/Services/UserApiHttpClient.cs
index 71953eef8..399ad34cc 100644
--- a/LearningHub.Nhs.WebUI/Services/UserApiHttpClient.cs
+++ b/LearningHub.Nhs.WebUI/Services/UserApiHttpClient.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System.Net.Http;
using LearningHub.Nhs.Caching;
diff --git a/LearningHub.Nhs.WebUI/Services/UserGroupService.cs b/LearningHub.Nhs.WebUI/Services/UserGroupService.cs
index 1c285f887..ae5b4dd80 100644
--- a/LearningHub.Nhs.WebUI/Services/UserGroupService.cs
+++ b/LearningHub.Nhs.WebUI/Services/UserGroupService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Services/UserService.cs b/LearningHub.Nhs.WebUI/Services/UserService.cs
index 92dbcd354..83b8f64d8 100644
--- a/LearningHub.Nhs.WebUI/Services/UserService.cs
+++ b/LearningHub.Nhs.WebUI/Services/UserService.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Services
+namespace LearningHub.Nhs.WebUI.Services
{
using System;
using System.Collections.Generic;
diff --git a/LearningHub.Nhs.WebUI/Startup/AuthenticationConfiguration.cs b/LearningHub.Nhs.WebUI/Startup/AuthenticationConfiguration.cs
index 08c675717..40caab241 100644
--- a/LearningHub.Nhs.WebUI/Startup/AuthenticationConfiguration.cs
+++ b/LearningHub.Nhs.WebUI/Startup/AuthenticationConfiguration.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Startup
+namespace LearningHub.Nhs.WebUI.Startup
{
using System;
using System.Linq;
diff --git a/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddleware.cs b/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddleware.cs
index a29578b30..dca0963d0 100644
--- a/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddleware.cs
+++ b/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddleware.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Startup
+namespace LearningHub.Nhs.WebUI.Startup
{
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
diff --git a/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddlewareExtensions.cs b/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddlewareExtensions.cs
index 3d57f04c1..83ae8343f 100644
--- a/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddlewareExtensions.cs
+++ b/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddlewareExtensions.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Startup
+namespace LearningHub.Nhs.WebUI.Startup
{
using Microsoft.AspNetCore.Builder;
diff --git a/LearningHub.Nhs.WebUI/Startup/ServiceMappings.cs b/LearningHub.Nhs.WebUI/Startup/ServiceMappings.cs
index d50c138fb..cf3877a99 100644
--- a/LearningHub.Nhs.WebUI/Startup/ServiceMappings.cs
+++ b/LearningHub.Nhs.WebUI/Startup/ServiceMappings.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Startup
+namespace LearningHub.Nhs.WebUI.Startup
{
using System.Net.Http;
using GDS.MultiPageFormData;
diff --git a/LearningHub.Nhs.WebUI/Startup/TimezoneInfoMiddleware.cs b/LearningHub.Nhs.WebUI/Startup/TimezoneInfoMiddleware.cs
index 2690bb063..8284e1cfe 100644
--- a/LearningHub.Nhs.WebUI/Startup/TimezoneInfoMiddleware.cs
+++ b/LearningHub.Nhs.WebUI/Startup/TimezoneInfoMiddleware.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Startup
+namespace LearningHub.Nhs.WebUI.Startup
{
using System.Threading.Tasks;
using LearningHub.Nhs.Caching;
diff --git a/LearningHub.Nhs.WebUI/Styles/nhsuk/common.scss b/LearningHub.Nhs.WebUI/Styles/nhsuk/common.scss
index 067b105fe..72d1fe015 100644
--- a/LearningHub.Nhs.WebUI/Styles/nhsuk/common.scss
+++ b/LearningHub.Nhs.WebUI/Styles/nhsuk/common.scss
@@ -139,9 +139,9 @@
padding-right: px2rem(68);
}
-#maincontent .search-width-container {
+#maincontent {
- .nhsuk-search__submit__green span.nhsuk-u-visually-hidden {
+ button[class^='nhsuk-search__submit'] span.nhsuk-u-visually-hidden {
color: #595959;
background-color: #fff;
}
@@ -222,4 +222,4 @@
white-space: nowrap;
margin-top: auto !important;
margin-bottom: auto !important;
-}
\ No newline at end of file
+}
diff --git a/LearningHub.Nhs.WebUI/Styles/nhsuk/layout.scss b/LearningHub.Nhs.WebUI/Styles/nhsuk/layout.scss
index 03eb2e416..e5c9cb57a 100644
--- a/LearningHub.Nhs.WebUI/Styles/nhsuk/layout.scss
+++ b/LearningHub.Nhs.WebUI/Styles/nhsuk/layout.scss
@@ -108,6 +108,16 @@
}
+.nhsuk-header__search {
+ .nhsuk-search__input {
+ width: px2rem(260);
+ }
+
+ #search > label.nhsuk-u-visually-hidden {
+ background-color: $nhsuk-white;
+ }
+}
+
.nhsuk-account__login--link,
.nhsuk-account__login--link:visited,
.nhsuk-account__login--link:hover {
@@ -325,6 +335,10 @@
.nhsuk-back-link {
padding: 0.5rem 0;
}
+
+ .nhsuk-header__menu .nhsuk-header__not-mobile {
+ display: none;
+ }
}
/* mobile */
diff --git a/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/mylearning.scss b/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/mylearning.scss
index 0d28c2393..26b854a14 100644
--- a/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/mylearning.scss
+++ b/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/mylearning.scss
@@ -2,7 +2,7 @@
.my-learning {
-
+
.downloadbuttonaslink {
background: none !important;
@@ -101,6 +101,8 @@
.search-filters {
+ position: relative;
+
.nhsuk-expander {
border-width: 0;
@@ -126,31 +128,33 @@
border-width: 12.124px 7px 0 7px;
border-top-color: inherit
}
+ }
- .filter-summary {
- color: $nhsuk-black;
+ .filter-summary {
+ color: $nhsuk-black;
+ display: flex;
+ line-height: 1.8;
+ position: absolute;
+ z-index: 1;
+ margin-top: 67px;
+ width: 100%;
+
+ .clear-filter {
+ justify-content: flex-end;
display: flex;
- line-height: 1.8;
-
- .clear-filter {
- justify-content: flex-end;
- display: flex;
- flex: 1 1 auto !important;
- }
+ flex: 1 1 auto !important;
+ }
- @media(max-width: 48.0525em) {
- display: initial;
+ @media(max-width: 48.0525em) {
+ display: initial;
- .clear-filter {
- display: block;
- margin-top: 12px;
- }
+ .clear-filter {
+ display: block;
+ margin-top: 12px;
}
}
}
-
-
.search-filter-items {
background-color: $nhsuk-grey-white;
}
diff --git a/LearningHub.Nhs.WebUI/Validation/NotEqualAttribute.cs b/LearningHub.Nhs.WebUI/Validation/NotEqualAttribute.cs
index cd96f486b..73496feb6 100644
--- a/LearningHub.Nhs.WebUI/Validation/NotEqualAttribute.cs
+++ b/LearningHub.Nhs.WebUI/Validation/NotEqualAttribute.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Validation
+namespace LearningHub.Nhs.WebUI.Validation
{
using System.ComponentModel.DataAnnotations;
diff --git a/LearningHub.Nhs.WebUI/Validation/RequiredIfAttribute.cs b/LearningHub.Nhs.WebUI/Validation/RequiredIfAttribute.cs
index 40a804a9c..3a904d685 100644
--- a/LearningHub.Nhs.WebUI/Validation/RequiredIfAttribute.cs
+++ b/LearningHub.Nhs.WebUI/Validation/RequiredIfAttribute.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.Validation
+namespace LearningHub.Nhs.WebUI.Validation
{
using System.ComponentModel.DataAnnotations;
diff --git a/LearningHub.Nhs.WebUI/ViewComponents/NavigationItemsViewComponent.cs b/LearningHub.Nhs.WebUI/ViewComponents/NavigationItemsViewComponent.cs
index e033fac20..6b81891cd 100644
--- a/LearningHub.Nhs.WebUI/ViewComponents/NavigationItemsViewComponent.cs
+++ b/LearningHub.Nhs.WebUI/ViewComponents/NavigationItemsViewComponent.cs
@@ -1,8 +1,4 @@
-//
-// Copyright (c) HEE.nhs.uk.
-//
-
-namespace LearningHub.Nhs.WebUI.ViewComponents
+namespace LearningHub.Nhs.WebUI.ViewComponents
{
using System.Threading.Tasks;
using LearningHub.Nhs.Caching;
diff --git a/LearningHub.Nhs.WebUI/Views/Catalogue/Index.cshtml b/LearningHub.Nhs.WebUI/Views/Catalogue/Index.cshtml
index 76dba2b01..970a38bc5 100644
--- a/LearningHub.Nhs.WebUI/Views/Catalogue/Index.cshtml
+++ b/LearningHub.Nhs.WebUI/Views/Catalogue/Index.cshtml
@@ -164,12 +164,13 @@
@* Tab header *@