Webiant Logo Webiant Logo
  1. No results found.

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

_CreateOrUpdate.cshtml

@model MessageTemplateModel
@inject AdminAreaSettings adminAreaSettings
@using Nop.Core.Domain.Messages;
@using Nop.Services

@await Component.InvokeAsync(typeof(SettingModeViewComponent), new { modeName = "messagetemplate-advanced-mode" })
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.MessageTemplateDetailsTop, additionalData = Model })
@T($"Admin.ContentManagement.MessageTemplates.Description.{Model.Name}")
@T("Admin.Common.Show")
@Model.AllowedTokens
@Model.Name
@(await Html.LocalizedEditorAsync("messagetemplate-localized", @
@if (adminAreaSettings.UseRichEditorInMessageTemplates) { } else { }
, @
@if (adminAreaSettings.UseRichEditorInMessageTemplates) {
} else { }
))
@{ //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; }
@await Component.InvokeAsync(typeof(MultistoreDisabledWarningViewComponent))
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.MessageTemplateDetailsBottom, additionalData = Model })