From 527d49bda52a73d4eabb7d1f03c556c36beee21a Mon Sep 17 00:00:00 2001 From: RomanovM Date: Tue, 17 Jan 2023 10:44:48 +0700 Subject: [PATCH] #6532 Update _ViewImports of DefaultClean theme --- .../Themes/DefaultClean/Views/_ViewImports.cshtml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Presentation/Nop.Web/Themes/DefaultClean/Views/_ViewImports.cshtml b/src/Presentation/Nop.Web/Themes/DefaultClean/Views/_ViewImports.cshtml index b3503038294..1923fda5f7b 100644 --- a/src/Presentation/Nop.Web/Themes/DefaultClean/Views/_ViewImports.cshtml +++ b/src/Presentation/Nop.Web/Themes/DefaultClean/Views/_ViewImports.cshtml @@ -1,20 +1,25 @@ @inherits Nop.Web.Framework.Mvc.Razor.NopRazorPage + +@inject INopHtmlHelper NopHtml + @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @*we remove the default InputTagHelper to prevent the checkbox duplicating: https://stackoverflow.com/questions/42544961/asp-net-core-custom-input-tag-helper-rendering-duplicate-checkboxes*@ @removeTagHelper Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper, Microsoft.AspNetCore.Mvc.TagHelpers @addTagHelper *, Nop.Web.Framework @addTagHelper *, MiniProfiler.AspNetCore.Mvc -@inject INopHtmlHelper NopHtml - @using System.Globalization; +@using System.Text.Encodings.Web @using Microsoft.AspNetCore.Mvc.ViewFeatures @using Microsoft.Extensions.Primitives +@using Nop.Web.Components @using Nop.Web.Extensions @using Nop.Web.Framework +@using Nop.Web.Framework.Events @using Nop.Web.Framework.Extensions @using Nop.Web.Framework.Infrastructure @using Nop.Web.Framework.Models +@using Nop.Web.Framework.Mvc.Routing @using Nop.Web.Framework.Security.Captcha @using Nop.Web.Framework.Security.Honeypot @using Nop.Web.Framework.Themes @@ -34,5 +39,6 @@ @using Nop.Web.Models.PrivateMessages @using Nop.Web.Models.Profile @using Nop.Web.Models.ShoppingCart +@using Nop.Web.Models.Sitemap @using Nop.Web.Models.Topics @using Nop.Web.Models.Vendors \ No newline at end of file