diff --git a/LearningHub.Nhs.WebUI/Views/Reports/CreateReportDateSelection.cshtml b/LearningHub.Nhs.WebUI/Views/Reports/CreateReportDateSelection.cshtml index 62c733db2..04c840a73 100644 --- a/LearningHub.Nhs.WebUI/Views/Reports/CreateReportDateSelection.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Reports/CreateReportDateSelection.cshtml @@ -56,7 +56,7 @@ For the last: - @if (errorHasOccurred) + @if (errorHasOccurred && string.IsNullOrWhiteSpace(Model.TimePeriod)) {
You can continue to search for and access resources in the Learning Hub, however you cannot contribute to it.
If you have any questions about this, please contact the support team.
", "ResourceContributeAccess": "You can now contribute to the Learning Hub and continue to search for and access resources.
If you have any questions about this, please contact the support team.
", "ReportTitle": "[ReportName] report for [ReportContent] is ready", - "Report": "Your report [ReportName] report for [ReportContent] is ready. You can view and download the report in the reports section
" + "Report": "Your [ReportName] report for [ReportContent] is ready. You can view and download the report in the reports section
" }, "MyContributionsUrl": "/my-contributions", "MyLearningUrl": "/MyLearning", diff --git a/WebAPI/LearningHub.Nhs.Database/Scripts/Pre-Deploy/Scripts/InPlatform_Report_Predeployment.sql b/WebAPI/LearningHub.Nhs.Database/Scripts/Pre-Deploy/Scripts/InPlatform_Report_Predeployment.sql index 4cfef993c..08469490e 100644 --- a/WebAPI/LearningHub.Nhs.Database/Scripts/Pre-Deploy/Scripts/InPlatform_Report_Predeployment.sql +++ b/WebAPI/LearningHub.Nhs.Database/Scripts/Pre-Deploy/Scripts/InPlatform_Report_Predeployment.sql @@ -3,6 +3,6 @@ GO -INSERT [messaging].[EmailTemplate] ([Id], [LayoutId], [Title], [Subject], [Body], [AvailableTags], [Deleted], [CreateUserId], [CreateDate], [AmendUserId], [AmendDate]) VALUES (2007, 1, N'ReportProcessed', N'[ReportName] report for [ReportContent] is ready', N'Dear [AdminFirstName],
-Your report [ReportName] report for [ReportContent] is ready. You can view and download the report in the reports section
', N'[UserFirstName][ReportSection][ReportName][ReportContent]', 0, 4, CAST(N'2025-12-22T00:00:00.0000000+00:00' AS DateTimeOffset), 4, CAST(N'2025-12-22T00:00:00.0000000+00:00' AS DateTimeOffset)) +INSERT [messaging].[EmailTemplate] ([Id], [LayoutId], [Title], [Subject], [Body], [AvailableTags], [Deleted], [CreateUserId], [CreateDate], [AmendUserId], [AmendDate]) VALUES (2007, 1, N'ReportProcessed', N'[ReportName] report for [ReportContent] is ready', N'Dear [UserFirstName],
+Your [ReportName] report for [ReportContent] is ready. You can view and download the report in the reports section
', N'[UserFirstName][ReportSection][ReportName][ReportContent]', 0, 4, CAST(N'2025-12-22T00:00:00.0000000+00:00' AS DateTimeOffset), 4, CAST(N'2025-12-22T00:00:00.0000000+00:00' AS DateTimeOffset)) GO \ No newline at end of file