Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions LearningHub.Nhs.WebUI/Views/Reports/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -138,20 +138,22 @@
<div class="nhsuk-summary-list__row">
<dt class="nhsuk-summary-list__key nhsuk-summary-list__key--tight">Reporting on:</dt>
<dd class="nhsuk-summary-list__value">
<ul class="nhsuk-list nhsuk-list--bullet">

@if (matchedCourseNamesDetails.Count > 1)
{
<ul class="nhsuk-list nhsuk-list--bullet">
@foreach (var item in matchedCourseNamesDetails)
{
<li>@item</li>
}
</ul>
}
else
{
@matchedCourseNamesDetails
@matchedCourseNamesDetails.FirstOrDefault()
}

</ul>

</dd>
</div>
</dl>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INSERT [hub].[NotificationType] ([Id], [Name], [Description], [Deleted], [CreateUserId], [CreateDate], [AmendUserId], [AmendDate]) VALUES (8, N'AccessRequest', N'Access request', 0, 4, CAST(N'2021-07-14T13:33:51.0233333+00:00' AS DateTimeOffset), 4, CAST(N'2021-07-14T13:33:51.0233333+00:00' AS DateTimeOffset))
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'<p>Dear [AdminFirstName],</p>
<p>Your report [ReportName] report for [ReportContent] is ready. You can view and download the report in the <a href=''[ReportSection]'' target=''_blank''>reports section</a></p>', 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
Loading