Webiant Logo Webiant Logo
  1. No results found.

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

OfficialFeed.cshtml

@model OfficialFeedPluginSearchModel

@{
    //page title
    ViewBag.PageTitle = T("Admin.Configuration.Plugins.OfficialFeed").Text;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("All plugins and themes");
}

@{
    const string hideSearchBlockAttributeName = "OfficialFeedPage.HideSearchBlock";
    var hideSearchBlock = await genericAttributeService.GetAttributeAsync(await workContext.GetCurrentCustomerAsync(), hideSearchBlockAttributeName);
}

@T("Admin.Configuration.Plugins.OfficialFeed")

@await Html.PartialAsync("Table", new DataTablesModel { Name = "plugins-grid", UrlRead = new DataUrl("OfficialFeedSelect", "Plugin", null), SearchButtonId = "search-plugins", Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, Filters = new List { new FilterParameter(nameof(Model.SearchName)), new FilterParameter(nameof(Model.SearchVersionId)), new FilterParameter(nameof(Model.SearchCategoryId)), new FilterParameter(nameof(Model.SearchPriceId)) }, ColumnCollection = new List { new ColumnProperty(nameof(OfficialFeedPluginModel.PictureUrl)) { Title = T("Admin.Configuration.Plugins.OfficialFeed.Picture").Text, Render = new RenderPicture(width: 120) }, new ColumnProperty(nameof(OfficialFeedPluginModel.Name)) { Title = T("Admin.Configuration.Plugins.OfficialFeed.Name").Text, Width = "600" }, new ColumnProperty(nameof(OfficialFeedPluginModel.Price)) { Title = T("Admin.Configuration.Plugins.OfficialFeed.Price").Text, Width = "70" }, new ColumnProperty(nameof(OfficialFeedPluginModel.Url)) { Title = T("Admin.Configuration.Plugins.OfficialFeed.Download").Text, Width = "150", ClassName = NopColumnClassDefaults.Button, Render = new RenderCustom("renderColumnUrl") }, new ColumnProperty(nameof(OfficialFeedPluginModel.CategoryName)) { Title = T("Admin.Configuration.Plugins.OfficialFeed.Category").Text, Width = "200" }, new ColumnProperty(nameof(OfficialFeedPluginModel.SupportedVersions)) { Title = T("Admin.Configuration.Plugins.OfficialFeed.SupportedVersions").Text, Width = "200" } } })