@{ ViewData["Title"] = _localizer[WebKey.DocRejected]; } @{ var nonce = _accessor.HttpContext?.Items["csp-nonce"] as string; } @using DigitalData.Core.DTO; @using EnvelopeGenerator.Application.DTOs.EnvelopeReceiver @using Newtonsoft.Json @using Newtonsoft.Json.Serialization @model EnvelopeReceiverDto; @{ var userCulture = ViewData["UserCulture"] as Culture; var envelope = Model.Envelope; var document = Model.Envelope?.Documents?.FirstOrDefault(); var sender = Model.Envelope?.User; var isExt = ViewBag.IsExt ?? false; }
@Html.Raw(string.Format(_localizer[isExt ? WebKey.RejectionInfo2_ext : WebKey.RejectionInfo2], $"{sender?.Prename} {sender?.Name}".TrySanitize(_sanitizer), sender?.Email.TrySanitize(_sanitizer), envelope?.Title.TrySanitize(_sanitizer)))