diff --git a/src/ScadaLink.CentralUI/Components/Pages/Notifications/NotificationReport.razor b/src/ScadaLink.CentralUI/Components/Pages/Notifications/NotificationReport.razor index 7b2b491..44798ce 100644 --- a/src/ScadaLink.CentralUI/Components/Pages/Notifications/NotificationReport.razor +++ b/src/ScadaLink.CentralUI/Components/Pages/Notifications/NotificationReport.razor @@ -268,6 +268,64 @@
@d.LastError
} + + @* ── Recipients ── *@ +
+
Recipients
+ @if (_detailLoading) + { +
+ + Loading details… +
+ } + else if (_detailError != null) + { +
@_detailError
+ } + else if (_detail != null) + { + var recipients = ParseRecipients(_detail.ResolvedTargets); + if (recipients.Count > 0) + { + + } + else + { +
+ Not yet resolved — recipients are resolved from list + "@d.ListName" at delivery time. +
+ } + } + + @* ── Body ── *@ +
+
Message body
+ @if (_detailLoading) + { +
+ + Loading details… +
+ } + else if (_detailError != null) + { +
@_detailError
+ } + else if (_detail != null) + { + @* Email bodies are plain text (design: BCC delivery, plain text). + Rendered as preformatted text — never as a MarkupString, which + would be an XSS vector. *@ +
@_detail.Body
+ }