Try your search with a different keyword or use * as a wildcard.
@model EmailAccountSearchModel
@inject Nop.Services.Messages.IEmailAccountService emailAccountService
@using Nop.Web.Framework.Models.AdminAreaTour
@{
//page title
ViewBag.PageTitle = T("Admin.Configuration.EmailAccounts").Text;
//tour step
ViewBag.TourStep = TourStep.EmailAccountList;
//active menu item (system name)
NopHtml.SetActiveMenuItemSystemName("Email accounts");
string editQueryString = string.Empty;
var showTour = ViewBag.ShowTour ?? false;
if (showTour)
{
editQueryString = "?showtour=true";
}
}
@await Html.PartialAsync("_AdminTour")
@T("Admin.Configuration.EmailAccounts")
@T("Admin.Common.AddNew")
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.EmailAccountListButtons, additionalData = Model })
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "email-accounts-grid",
RowIdBasedOnField = nameof(EmailAccountModel.Email),
UrlRead = new DataUrl("List", "EmailAccount", null),
Length = Model.PageSize,
LengthMenu = Model.AvailablePageSizes,
ColumnCollection = new List
{
new ColumnProperty(nameof(EmailAccountModel.Email))
{
Title = T("Admin.Configuration.EmailAccounts.Fields.Email").Text
},
new ColumnProperty(nameof(EmailAccountModel.DisplayName))
{
Title = T("Admin.Configuration.EmailAccounts.Fields.DisplayName").Text,
Width = "200"
},
new ColumnProperty(nameof(EmailAccountModel.IsDefaultEmailAccount))
{
Title = T("Admin.Configuration.EmailAccounts.Fields.IsDefaultEmailAccount").Text,
Width = "200",
ClassName = NopColumnClassDefaults.CenterAll,
Render = new RenderBoolean()
},
new ColumnProperty(nameof(EmailAccountModel.Id))
{
Title = T("Admin.Configuration.EmailAccounts.Fields.MarkAsDefaultEmail").Text,
Width = "300",
ClassName = NopColumnClassDefaults.CenterAll + " column-default",
Render = new RenderButtonCustom(NopButtonClassDefaults.Success, T("Admin.Configuration.EmailAccounts.Fields.MarkAsDefaultEmail").Text)
{
Url = Url.Content("~/Admin/EmailAccount/MarkAsDefaultEmail/")
}
},
new ColumnProperty(nameof(EmailAccountModel.Id))
{
Title = T("Admin.Common.Edit").Text,
Width = "100",
ClassName = NopColumnClassDefaults.Button + " column-edit",
Render = new RenderCustom("renderColumnEdit")
}
}
})