@Localizer["About"] @if (report.TargetAccountId is { Length: > 0 } targetId) { @report.TargetActorURI } else { @report.TargetActorURI }
@Localizer["From"] @(report.Reporter == "local" ? Localizer["someone here"] : report.Reporter)
@if (report.Comment is { Length: > 0 } comment) {@comment
} @if (report.PostIds.Count > 0 || report.ObjectURIs.Count > 0) {
@foreach (var postId in report.PostIds)
{
@Localizer["Post {0}", postId]
}
@* a report from another server names posts by their ids there when we hold none of them *@
@if (report.PostIds.Count == 0)
{
@foreach (var uri in report.ObjectURIs)
{
@uri
}
}
}