Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Grand.Web - Remove PageSeNameConstants
support0f1fc5ce28cb
diff --git a/src/Web/Grand.Web/Extensions/PageSeNameConstants.cs b/src/Web/Grand.Web/Extensions/PageSeNameConstants.csdeleted file mode 100644index 80edb9038..000000000--- a/src/Web/Grand.Web/Extensions/PageSeNameConstants.cs+++ /dev/null@@ -1,10 +0,0 @@-namespace Grand.Web.Extensions-{- public static class PageSeNameConstants- {- public static string Shippinginfo => "shippinginfo";- public static string Privacyinfo => "privacyinfo";- public static string Conditionsofuse => "conditionsofuse";- public static string VendorTermsOfService => "VendorTermsOfService";- }-}diff --git a/src/Web/Grand.Web/Views/Checkout/Partials/ConfirmOrder.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/ConfirmOrder.cshtmlindex 7ab5065ea..568fb2d80 100644--- a/src/Web/Grand.Web/Views/Checkout/Partials/ConfirmOrder.cshtml+++ b/src/Web/Grand.Web/Views/Checkout/Partials/ConfirmOrder.cshtml@@ -22,7 +22,7 @@<b-form-checkbox id="TermsOfService"v-model="vmorder.terms"name="TermsOfService">- @Loc["Checkout.TermsOfService.PleaseAccept"] <a href="@Url.RouteUrl("Page", new { SeName = PageSeNameConstants.Conditionsofuse })" target="_blank">@Loc["Checkout.TermsOfService.Read"]</a>+ @Loc["Checkout.TermsOfService.PleaseAccept"] <a href="@Url.RouteUrl("Page", new { SeName = "conditionsofuse" })" target="_blank">@Loc["Checkout.TermsOfService.Read"]</a></b-form-checkbox><div class="alert alert-info my-2" :show="vmorder.acceptTerms">@Loc["Checkout.TermsOfService.PleaseAccept"]</div></div>diff --git a/src/Web/Grand.Web/Views/Shared/Partials/Cookie.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Cookie.cshtmlindex 0aeada9cb..c11aa95c6 100644--- a/src/Web/Grand.Web/Views/Shared/Partials/Cookie.cshtml+++ b/src/Web/Grand.Web/Views/Shared/Partials/Cookie.cshtml@@ -36,7 +36,7 @@<div class="btn-group ml-0 mx-sm-3 mt-sm-0 mt-2"><button class="btn btn-outline-secondary cookielaw-button" id="cookie-ok" onclick="cookieFnc(this)" data-accept="true">@Loc["Cookie.Accept"]</button><button class="btn btn-outline-secondary cookielaw-button mx-1" id="cookie-refuse" onclick="cookieFnc(this)" data-accept="false">@Loc["Cookie.Refuse"]</button>- <a class="btn btn-info learn-more" href="@Url.RouteUrl("Page", new { SeName = PageSeNameConstants.Privacyinfo })">@Loc["Cookie.LearnMore"]</a>+ <a class="btn btn-info learn-more" href="@Url.RouteUrl("Page", new { SeName = "privacyinfo" })">@Loc["Cookie.LearnMore"]</a></div></div></div>diff --git a/src/Web/Grand.Web/Views/ShoppingCart/Partials/CartSummary.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/Partials/CartSummary.cshtmlindex 8727dca03..1fb21c2be 100644--- a/src/Web/Grand.Web/Views/ShoppingCart/Partials/CartSummary.cshtml+++ b/src/Web/Grand.Web/Views/ShoppingCart/Partials/CartSummary.cshtml@@ -180,14 +180,14 @@@Loc["Checkout.TermsOfService.IAccept"]@if (!Model.TermsOfServicePopup){- <a href="@Url.RouteUrl("Page", new { SeName = PageSeNameConstants.Conditionsofuse })" target="_blank">+ <a href="@Url.RouteUrl("Page", new { SeName = "conditionsofuse" })" target="_blank">@Loc["Checkout.TermsOfService.Read"]</a>}else{<span class="read"- onclick="window.open('@Url.RouteUrl("PagePopup", new { SystemName = PageSeNameConstants.Conditionsofuse })', 450, 500, true)">+ onclick="window.open('@Url.RouteUrl("PagePopup", new { SystemName = "conditionsofuse" })', 450, 500, true)">@Loc["Checkout.TermsOfService.Read"]</span>}diff --git a/src/Web/Grand.Web/Views/Vendor/ApplyVendor.cshtml b/src/Web/Grand.Web/Views/Vendor/ApplyVendor.cshtmlindex cf5f99ded..e211aa767 100644--- a/src/Web/Grand.Web/Views/Vendor/ApplyVendor.cshtml+++ b/src/Web/Grand.Web/Views/Vendor/ApplyVendor.cshtml@@ -99,11 +99,11 @@</label>@if (Model.TermsOfServicePopup){- <b-link class="read mx-2" onclick="window.open('@Url.RouteUrl("PagePopup", new { SystemName = PageSeNameConstants.VendorTermsOfService })', 450, 500, true)">@Loc["Vendors.ApplyAccount.AcceptTermsOfService.Read"]</b-link>+ <b-link class="read mx-2" onclick="window.open('@Url.RouteUrl("PagePopup", new { SystemName = "VendorTermsOfService" })', 450, 500, true)">@Loc["Vendors.ApplyAccount.AcceptTermsOfService.Read"]</b-link>}else{- <a class="read" id="read-acceptterms" href="@Url.RouteUrl("Page", new {SeName = PageSeNameConstants.VendorTermsOfService })">@Loc["Vendors.ApplyAccount.AcceptTermsOfService.Read"]</a>+ <a class="read" id="read-acceptterms" href="@Url.RouteUrl("Page", new {SeName = "VendorTermsOfService" })">@Loc["Vendors.ApplyAccount.AcceptTermsOfService.Read"]</a>}</div><span class="field-validation-error d-flex w-100">{{ errors[0] }}</span>