@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.QueuedEmailDetailsTop, additionalData = Model })
@{
//we use rich editor with BODY tag supported
//it could be a better practice to implement one more editor (similar to RichEditor.cshtml)
//with "enableFullPage" property set to "true". but we do not want to duplicate source code
//that's why we use this workaround
//we store a value into "ViewData" and then use it in the RichEditor.cshtml file
ViewData["nop.RichEditor.EnableFullPage"] = true;
}
@if (!string.IsNullOrEmpty(Model.AttachmentFilePath))
{
}
@if (Model.AttachedDownloadId > 0)
{
}
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.QueuedEmailDetailsBottom, additionalData = Model })
@Model.PriorityName
@Model.AttachmentFilePath
@{
//Static file attachments do not support URLs yet
//A store owner have to upload a file
//we store a value into "ViewData" and then use it in the Download.cshtml file
ViewData["nop.DownloadEditor.DisableUrl"] = true;
}
@Model.CreatedOn
@if (Model.SentOn.HasValue)
{
@Model.SentOn
}
else
{
@T("Admin.System.QueuedEmails.Fields.SentOn.NotSent")
}
@Model.EmailAccountName