@model ConfigurationModel @inject Nop.Core.IWebHelper webHelper @{ Layout = "_ConfigurePlugin"; var hideSearchBlock = Model.GoogleAuthenticatorSearchModel.HideSearchBlock; }

@Html.Raw(string.Format(T("Plugins.MultiFactorAuth.GoogleAuthenticator.Instructions").Text, webHelper.GetStoreLocation()))


@await Html.PartialAsync("Table", new DataTablesModel { Name = "googleguthenticator-grid", SearchButtonId = "search-customers", UrlRead = new DataUrl("GoogleAuthenticatorList", "GoogleAuthenticator", null), UrlDelete = new DataUrl("GoogleAuthenticatorDelete", "GoogleAuthenticator", null), Length = Model.GoogleAuthenticatorSearchModel.PageSize, LengthMenu = Model.GoogleAuthenticatorSearchModel.AvailablePageSizes, Filters = new List { new FilterParameter(nameof(GoogleAuthenticatorSearchModel.SearchEmail), nameof(GoogleAuthenticatorSearchModel)) }, ColumnCollection = new List { new ColumnProperty(nameof(GoogleAuthenticatorModel.Customer)) { Title = T("Plugins.MultiFactorAuth.GoogleAuthenticator.Fields.Customer").Text }, new ColumnProperty(nameof(GoogleAuthenticatorModel.Id)) { Title = T("Admin.Common.Delete").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonRemove(T("Admin.Common.Delete").Text) } } })