Webiant Logo Webiant Logo
  1. No results found.

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

List.cshtml

@model StoreSearchModel

@{
    //page title
    ViewBag.PageTitle = T("Admin.Configuration.Stores").Text;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("Stores");
}

@T("Admin.Configuration.Stores")

@T("Admin.Common.AddNew") @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.StoreListButtons, additionalData = Model })
@await Html.PartialAsync("Table", new DataTablesModel { Name = "stores-grid", UrlRead = new DataUrl("List", "Store", null), Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(StoreModel.Name)) { Title = T("Admin.Configuration.Stores.Fields.Name").Text }, new ColumnProperty(nameof(StoreModel.Url)) { Title = T("Admin.Configuration.Stores.Fields.Url").Text }, new ColumnProperty(nameof(StoreModel.DisplayOrder)) { Title = T("Admin.Configuration.Stores.Fields.DisplayOrder").Text, ClassName = NopColumnClassDefaults.CenterAll }, new ColumnProperty(nameof(StoreModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonEdit(new DataUrl("Edit")) } } })