@T("Admin.Common.Search")
Try your search with a different keyword or use * as a wildcard.
@model ActivityLogSearchModel
@{
//page title
ViewBag.PageTitle = T("Admin.Customers.ActivityLog").Text;
//active menu item (system name)
NopHtml.SetActiveMenuItemSystemName("Activity logs");
}
@{
const string hideSearchBlockAttributeName = "ActivityLogPage.HideSearchBlock";
var hideSearchBlock = await genericAttributeService.GetAttributeAsync(await workContext.GetCurrentCustomerAsync(), hideSearchBlockAttributeName);
}
@T("Admin.Customers.ActivityLog")
@T("Admin.Common.Search")
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "activityLog-grid",
UrlRead = new DataUrl("ListLogs", "ActivityLog", null),
UrlDelete = new DataUrl("ActivityLogDelete", "ActivityLog", null),
SearchButtonId = "search-log",
Length = Model.PageSize,
LengthMenu = Model.AvailablePageSizes,
Filters = new List
{
new FilterParameter(nameof(Model.CreatedOnTo)),
new FilterParameter(nameof(Model.CreatedOnFrom)),
new FilterParameter(nameof(Model.IpAddress)),
new FilterParameter(nameof(Model.ActivityLogTypeId))
},
ColumnCollection = new List
{
new ColumnProperty(nameof(ActivityLogModel.ActivityLogTypeName))
{
Title = T("Admin.Customers.ActivityLog.Fields.ActivityLogType").Text,
Width = "200"
},
new ColumnProperty(nameof(ActivityLogModel.CustomerEmail))
{
Title = T("Admin.Customers.ActivityLog.Fields.CustomerEmail").Text,
Width = "100",
Render = new RenderLink(new DataUrl("~/Admin/Customer/Edit", nameof(ActivityLogModel.CustomerId)))
},
new ColumnProperty(nameof(ActivityLogModel.IpAddress))
{
Title = T("Admin.Customers.ActivityLog.Fields.IpAddress").Text,
Width = "100"
},
new ColumnProperty(nameof(ActivityLogModel.Comment))
{
Title = T("Admin.Customers.ActivityLog.Fields.Comment").Text
},
new ColumnProperty(nameof(ActivityLogModel.CreatedOn))
{
Title = T("Admin.Customers.ActivityLog.Fields.CreatedOn").Text,
Width = "200",
Render = new RenderDate()
},
new ColumnProperty(nameof(ActivityLogModel.Id))
{
Title = T("Admin.Common.Delete").Text,
Width = "100",
Render = new RenderButtonRemove(T("Admin.Common.Delete").Text),
ClassName = NopColumnClassDefaults.Button
}
}
})