Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

_CreateOrUpdate.cshtml

@model QueuedEmailModel

@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.QueuedEmailDetailsTop, additionalData = Model })
@Model.PriorityName
@{ //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)) {
@Model.AttachmentFilePath
} @if (Model.AttachedDownloadId > 0) {
@{ //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
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.QueuedEmailDetailsBottom, additionalData = Model })