Webiant Logo Webiant Logo
  1. No results found.

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

_List.Topic.cshtml

@model TemplatesModel

@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.TopicTemplateListButtons, additionalData = Model }) @await Html.PartialAsync("Table", new DataTablesModel { Name = "templates-topic-grid", UrlRead = new DataUrl("TopicTemplates", "Template", null), UrlUpdate = new DataUrl("TopicTemplateUpdate", "Template", null), UrlDelete = new DataUrl("TopicTemplateDelete", "Template", null), Length = Model.TemplatesTopic.PageSize, LengthMenu = Model.TemplatesTopic.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(TopicTemplateModel.Name)) { Title = T("Admin.System.Templates.Topic.Name").Text, Width = "300", Editable = true, EditType = EditType.String }, new ColumnProperty(nameof(TopicTemplateModel.ViewPath)) { Title = T("Admin.System.Templates.Topic.ViewPath").Text, Width = "300", Editable = true, EditType = EditType.String }, new ColumnProperty(nameof(TopicTemplateModel.DisplayOrder)) { Title = T("Admin.System.Templates.Topic.DisplayOrder").Text, Width = "100", Editable = true, EditType = EditType.Number }, new ColumnProperty(nameof(TopicTemplateModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "200", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonsInlineEdit() }, new ColumnProperty(nameof(TopicTemplateModel.Id)) { Title = T("Admin.Common.Delete").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonRemove(T("Admin.Common.Delete").Text) } } })
@T("Admin.Common.AddNewRecord")