Skip to content

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.

New ordered in partial views (#317)

Krzysztof Pajakec73dc5d5662
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Create.cshtml
index 26e9504d1..1d474b5ba 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Create.cshtml
@@ -22,7 +22,7 @@
<vc:admin-widget widget-zone="address_attribute_details_buttons" additional-data="null" />
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Edit.cshtml
index f3f462bd4..6cdd52441 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Edit.cshtml
@@ -25,7 +25,7 @@
</div>
<vc:admin-widget widget-zone="address_attribute_details_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Partials/CreateOrUpdate.TabValues.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.TabValues.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Partials/CreateOrUpdate.TabValues.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Partials/CreateOrUpdate.cshtml
similarity index 82%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Partials/CreateOrUpdate.cshtml
index 3621c2f7b..326503500 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Partials/CreateOrUpdate.cshtml
@@ -8,14 +8,14 @@
<tabstrip-item text="@Loc["Admin.Address.AddressAttributes.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Address.AddressAttributes.Values"]" tab-index="1" id="tab-addressattributesvalues">
<content>
<div>
- <partial name="_CreateOrUpdate.TabValues" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabValues" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdateValue.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Partials/CreateOrUpdateValue.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/_CreateOrUpdateValue.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/Partials/CreateOrUpdateValue.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/ValueCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/ValueCreatePopup.cshtml
index 559891724..042c0b1cb 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/ValueCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/ValueCreatePopup.cshtml
@@ -16,7 +16,7 @@
</div>
<vc:admin-widget widget-zone="address_attribute_value_details_buttons" additional-data="null" />
<div class="x_content form">
- <partial name="_CreateOrUpdateValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/ValueEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/ValueEditPopup.cshtml
index 3da877503..1ed815a13 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/ValueEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/AddressAttribute/ValueEditPopup.cshtml
@@ -16,7 +16,7 @@
</div>
<vc:admin-widget widget-zone="address_attribute_value_details_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_CreateOrUpdateValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Create.cshtml
index 955549390..35c46a0da 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Create.cshtml
@@ -23,7 +23,7 @@
</div>
<vc:admin-widget widget-zone="affiliate_details_buttons" additional-data="null" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Edit.cshtml
index f43135baa..045fe772e 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
<vc:admin-widget widget-zone="affiliate_details_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/_CreateOrUpdate.TabCustomers.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Partials/CreateOrUpdate.TabCustomers.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/_CreateOrUpdate.TabCustomers.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Partials/CreateOrUpdate.TabCustomers.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Partials/CreateOrUpdate.cshtml
similarity index 85%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Partials/CreateOrUpdate.cshtml
index d7fbcefc4..48ae7b166 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Affiliate/Partials/CreateOrUpdate.cshtml
@@ -7,7 +7,7 @@
<tabstrip-item text="@Loc["Admin.Affiliates.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -16,7 +16,7 @@
<tabstrip-item text="@Loc["Admin.Affiliates.Customers"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabCustomers" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabCustomers" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Create.cshtml
index 4fd15c0b1..a08dcbcc4 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Edit.cshtml
index eeb65899f..1d47b1cd0 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Edit.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Partials/CreateOrUpdate.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Banner/Partials/CreateOrUpdate.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/CategoryCreate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/CategoryCreate.cshtml
index bfee30d7c..a62871dd3 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/CategoryCreate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/CategoryCreate.cshtml
@@ -23,7 +23,7 @@
</div>
<vc:admin-widget widget-zone="blog_category_buttons" additional-data="null" />
<div class="x_content form">
- <partial name="_CreateOrUpdateCategory" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/CategoryEdit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/CategoryEdit.cshtml
index 4dc049373..a7f463158 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/CategoryEdit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/CategoryEdit.cshtml
@@ -25,7 +25,7 @@
</div>
<vc:admin-widget widget-zone="blog_category_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_CreateOrUpdateCategory" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Create.cshtml
index 80262625a..fa9691a73 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Create.cshtml
@@ -23,7 +23,7 @@
</div>
<vc:admin-widget widget-zone="blog_details_buttons" additional-data="null" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Edit.cshtml
index 9bfb529da..b42859071 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Edit.cshtml
@@ -29,7 +29,7 @@
</div>
<vc:admin-widget widget-zone="blog_details_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabComments.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.TabComments.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabComments.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.TabComments.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.TabProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.TabProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.cshtml
index 9e951079f..4a6cf3532 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdate.cshtml
@@ -9,35 +9,35 @@
<tabstrip-item text="@Loc["Admin.Content.Blog.BlogPosts.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.SEO"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.Blog.BlogPosts.Products"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabProducts" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.Blog.BlogPosts.Comments"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.TabComments" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabComments" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="4">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.Posts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdateCategory.Posts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.Posts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdateCategory.Posts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdateCategory.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdateCategory.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdateCategory.cshtml
similarity index 79%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdateCategory.cshtml
index 3f3fa8d1b..b8401023d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/_CreateOrUpdateCategory.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Blog/Partials/CreateOrUpdateCategory.cshtml
@@ -7,14 +7,14 @@
<tabstrip-item text="@Loc["Admin.Content.Blog.BlogCategory.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdateCategory.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.Blog.BlogCategory.Posts"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdateCategory.Posts" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory.Posts" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Create.cshtml
index a31247096..f82e9c733 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Edit.cshtml
index 9c59e8ead..f27ba342a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Edit.cshtml
@@ -28,7 +28,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabActivityLog.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabActivityLog.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabActivityLog.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabActivityLog.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabDiscounts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabDiscounts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabDiscounts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabDiscounts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabDocuments.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabDocuments.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabDocuments.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabDocuments.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.cshtml
index 80018def3..a4a44807a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Brand/Partials/CreateOrUpdate.cshtml
@@ -11,21 +11,21 @@
<tabstrip-item text="@Loc["Admin.Catalog.Brands.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.SEO"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Brands.Discounts"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDiscounts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDiscounts" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -34,7 +34,7 @@
<tabstrip-item text="@Loc["Admin.Catalog.Brands.Documents"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDocuments" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDocuments" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -42,14 +42,14 @@
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="4">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Collections.ActivityLog"]" tab-index="5">
<content>
<div>
- <partial name="_CreateOrUpdate.TabActivityLog" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabActivityLog" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Create.cshtml
index 7ba65f0f4..073efc444 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Create.cshtml
@@ -23,7 +23,7 @@
</div>
<vc:admin-widget widget-zone="campaign_details_buttons" additional-data="null" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Edit.cshtml
index 6f119c1ed..f5015da35 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Edit.cshtml
@@ -27,7 +27,7 @@
</div>
<vc:admin-widget widget-zone="campaign_details_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabConditions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabConditions.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabConditions.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabConditions.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabEmails.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabEmails.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabEmails.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabEmails.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabHistory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabHistory.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabHistory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabHistory.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabTest.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabTest.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.TabTest.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.TabTest.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.cshtml
similarity index 76%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.cshtml
index 2984a1077..b1587935d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Campaign/Partials/CreateOrUpdate.cshtml
@@ -9,35 +9,35 @@
<tabstrip-item text="@Loc["admin.marketing.Campaigns.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Campaigns.Conditions"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabConditions" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabConditions" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Campaigns.Emails"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabEmails" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabEmails" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Campaigns.History"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.TabHistory" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabHistory" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Campaigns.Test"]" tab-index="4">
<content>
<div>
- <partial name="_CreateOrUpdate.TabTest" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabTest" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Create.cshtml
index 36be358d9..122ad1b5c 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Create.cshtml
@@ -23,7 +23,7 @@
</div>
<vc:admin-widget widget-zone="category_details_buttons" additional-data="null" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Edit.cshtml
index c5300163e..9f5a103b1 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Edit.cshtml
@@ -28,7 +28,7 @@
</div>
<vc:admin-widget widget-zone="category_details_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabActivityLog.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabActivityLog.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabActivityLog.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabActivityLog.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabDiscounts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabDiscounts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabDiscounts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabDiscounts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabDocuments.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabDocuments.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabDocuments.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabDocuments.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.cshtml
similarity index 76%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.cshtml
index 1eab6afbe..500cd8b16 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Category/Partials/CreateOrUpdate.cshtml
@@ -12,28 +12,28 @@
<tabstrip-item text="@Loc["Admin.Catalog.Categories.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.SEO"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Categories.Products"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabProducts" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Categories.Discounts"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDiscounts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDiscounts" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -42,7 +42,7 @@
<tabstrip-item text="@Loc["Admin.Catalog.Categories.Documents"]" tab-index="4">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDocuments" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDocuments" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -50,14 +50,14 @@
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="5">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Categories.ActivityLog"]" tab-index="6">
<content>
<div>
- <partial name="_CreateOrUpdate.TabActivityLog" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabActivityLog" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Create.cshtml
index 5cfa269ec..c6c3ecb77 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Edit.cshtml
index b4dbae2ee..7eb5cb739 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Edit.cshtml
@@ -25,7 +25,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabCondition.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdate.TabCondition.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabCondition.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdate.TabCondition.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdate.TabValues.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.TabValues.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdate.TabValues.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdate.cshtml
similarity index 78%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdate.cshtml
index 54be38be5..e281ca29e 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdate.cshtml
@@ -8,14 +8,14 @@
<tabstrip-item text="@Loc["Admin.Orders.CheckoutAttributes.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Orders.CheckoutAttributes.Values"]" tab-index="1" id="tab-checkoutAttributesValues">
<content>
<div>
- <partial name="_CreateOrUpdate.TabValues" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabValues" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -24,7 +24,7 @@
<tabstrip-item text="@Loc["Admin.Orders.CheckoutAttributes.Condition"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabCondition" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabCondition" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdateValue.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdateValue.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/_CreateOrUpdateValue.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/Partials/CreateOrUpdateValue.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/ValueCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/ValueCreatePopup.cshtml
index f866cb67b..f402e66c9 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/ValueCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/ValueCreatePopup.cshtml
@@ -19,7 +19,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/ValueEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/ValueEditPopup.cshtml
index baa3a8fa5..a68a36d48 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/ValueEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CheckoutAttribute/ValueEditPopup.cshtml
@@ -15,7 +15,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Create.cshtml
index 1932675fc..35f834ff7 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Edit.cshtml
index 699946bac..cf1d3fe70 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Edit.cshtml
@@ -28,7 +28,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabActivityLog.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabActivityLog.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabActivityLog.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabActivityLog.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabDiscounts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabDiscounts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabDiscounts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabDiscounts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabDocuments.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabDocuments.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabDocuments.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabDocuments.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.cshtml
index 6229550a8..a9ba9d1f8 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Collection/Partials/CreateOrUpdate.cshtml
@@ -11,28 +11,28 @@
<tabstrip-item text="@Loc["Admin.Catalog.Collections.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.SEO"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Collections.Products"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabProducts" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Collections.Discounts"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDiscounts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDiscounts" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -41,7 +41,7 @@
<tabstrip-item text="@Loc["Admin.Catalog.Collections.Documents"]" tab-index="4">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDocuments" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDocuments" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -49,14 +49,14 @@
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="5">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Collections.ActivityLog"]" tab-index="6">
<content>
<div>
- <partial name="_CreateOrUpdate.TabActivityLog" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabActivityLog" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Create.cshtml
index 60aabb776..29e201610 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Edit.cshtml
index fd4238e8f..f9c971582 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Edit.cshtml
@@ -25,7 +25,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabCondition.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdate.TabCondition.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabCondition.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdate.TabCondition.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdate.TabValues.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.TabValues.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdate.TabValues.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdate.cshtml
similarity index 80%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdate.cshtml
index 2cc57d027..f84666d85 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdate.cshtml
@@ -8,14 +8,14 @@
<tabstrip-item text="@Loc["Admin.Catalog.Attributes.ContactAttributes.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Attributes.ContactAttributes.Values"]" tab-index="1" id="tab-contactAttributesValues">
<content>
<div>
- <partial name="_CreateOrUpdate.TabValues" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabValues" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -24,7 +24,7 @@
<tabstrip-item text="@Loc["Admin.Catalog.Attributes.ContactAttributes.Condition"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabCondition" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabCondition" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdateValue.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdateValue.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/_CreateOrUpdateValue.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/Partials/CreateOrUpdateValue.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/ValueCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/ValueCreatePopup.cshtml
index 9ed13bfa2..61c1aa3a5 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/ValueCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/ValueCreatePopup.cshtml
@@ -15,7 +15,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/ValueEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/ValueEditPopup.cshtml
index c330d5ab7..6705611c0 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/ValueEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ContactAttribute/ValueEditPopup.cshtml
@@ -14,7 +14,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Create.cshtml
index 40e86622a..69eab7e7d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Edit.cshtml
index 3560a835e..88fe26098 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.TabStates.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Partials/CreateOrUpdate.TabStates.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.TabStates.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Partials/CreateOrUpdate.TabStates.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Partials/CreateOrUpdate.cshtml
similarity index 79%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Partials/CreateOrUpdate.cshtml
index 791a763a8..1d4584750 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Partials/CreateOrUpdate.cshtml
@@ -8,14 +8,14 @@
<tabstrip-item text="@Loc["Admin.Configuration.Countries.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Configuration.Countries.States"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabStates" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabStates" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdateState.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Partials/CreateOrUpdateState.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/_CreateOrUpdateState.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/Partials/CreateOrUpdateState.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/StateCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/StateCreatePopup.cshtml
index 979e9a73e..329f668a6 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/StateCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/StateCreatePopup.cshtml
@@ -14,7 +14,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateState" model="Model" />
+ <partial name="Partials/CreateOrUpdateState" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/StateEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/StateEditPopup.cshtml
index db0bb5266..eb0abd69b 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/StateEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Country/StateEditPopup.cshtml
@@ -14,7 +14,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateState" model="Model" />
+ <partial name="Partials/CreateOrUpdateState" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Create.cshtml
index e418deee9..28f996ab1 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Create.cshtml
@@ -23,7 +23,7 @@
</div>
<vc:admin-widget widget-zone="course_details_buttons" additional-data="null" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/CreateLesson.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/CreateLesson.cshtml
index df8a86aa2..1a3a16acb 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/CreateLesson.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/CreateLesson.cshtml
@@ -24,7 +24,7 @@
</div>
<vc:admin-widget widget-zone="course_lesson_details_buttons" additional-data="null" />
<div class="x_content form">
- <partial name="_Lesson" model="Model" />
+ <partial name="Partials/Lesson" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Edit.cshtml
index 9b160d2ec..3896e8eb9 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
<vc:admin-widget widget-zone="course_details_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/EditLesson.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/EditLesson.cshtml
index 6816e1e73..7b8f8e880 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/EditLesson.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/EditLesson.cshtml
@@ -25,7 +25,7 @@
</div>
<vc:admin-widget widget-zone="course_lesson_details_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_Lesson" model="Model" />
+ <partial name="Partials/Lesson" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.Lesson.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.Lesson.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.Lesson.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.Lesson.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.Subject.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.Subject.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.Subject.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.Subject.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.cshtml
similarity index 76%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.cshtml
index 8d0412aaf..8a57f79cc 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/CreateOrUpdate.cshtml
@@ -7,35 +7,35 @@
<tabstrip-item text="@Loc["Admin.Courses.Course.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.SEO"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Courses.Course.Subjects"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.Subject" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Subject" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Courses.Course.Lessons"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.Lesson" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Lesson" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="4">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_Lesson.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/Lesson.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_Lesson.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/Lesson.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_Lesson.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/Lesson.cshtml
similarity index 81%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_Lesson.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/Lesson.cshtml
index aa88216f2..ffb431db7 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/_Lesson.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Course/Partials/Lesson.cshtml
@@ -7,14 +7,14 @@
<tabstrip-item text="@Loc["Admin.Courses.Course.Lesson.Info"]" tab-index="0">
<content>
<div>
- <partial name="_Lesson.TabInfo" model="Model" />
+ <partial name="Partials/Lesson.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="2">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Create.cshtml
index 5d2cc1ec3..b8cb70d67 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Edit.cshtml
index 9a6e3529d..131431d0a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Partials/CreateOrUpdate.cshtml
similarity index 85%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Partials/CreateOrUpdate.cshtml
index c634856be..5327be0ad 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Currency/Partials/CreateOrUpdate.cshtml
@@ -8,7 +8,7 @@
<tabstrip-item text="@Loc["Admin.Configuration.Currencies.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/AddressCreate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/AddressCreate.cshtml
index 3c56b20cb..5f4964a11 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/AddressCreate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/AddressCreate.cshtml
@@ -20,7 +20,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateAddress" model="Model" />
+ <partial name="Partials/CreateOrUpdateAddress" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/AddressEdit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/AddressEdit.cshtml
index 4c311f3c3..c786c014c 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/AddressEdit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/AddressEdit.cshtml
@@ -20,7 +20,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateAddress" model="Model" />
+ <partial name="Partials/CreateOrUpdateAddress" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Create.cshtml
index c57469c1f..3553f4830 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Edit.cshtml
index fe1fb8c3d..76d24deeb 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Edit.cshtml
@@ -34,7 +34,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.Documents.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.Documents.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.Documents.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.Documents.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabActivityLog.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabActivityLog.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabActivityLog.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabActivityLog.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabAddresses.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabAddresses.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabAddresses.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabAddresses.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabCurrentShoppingCart.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabCurrentShoppingCart.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabCurrentShoppingCart.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabCurrentShoppingCart.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabCurrentWishlist.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabCurrentWishlist.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabCurrentWishlist.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabCurrentWishlist.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 99%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabInfo.cshtml
index 335cb2751..cee800e22 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabInfo.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabInfo.cshtml
@@ -330,7 +330,7 @@
@if (Model.CustomerAttributes.Count > 0)
{
<div class="form-group">
- <partial name="_CustomerAttributes" model="Model.CustomerAttributes" />
+ <partial name="Partials/CustomerAttributes" model="Model.CustomerAttributes" />
</div>
}
<div class="form-group">
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabLoyaltyPoints.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabLoyaltyPoints.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabLoyaltyPoints.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabLoyaltyPoints.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabNotes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabNotes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabNotes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabNotes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabOrders.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabOrders.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabOrders.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabOrders.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabOutOfStockSubscriptions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabOutOfStockSubscriptions.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabOutOfStockSubscriptions.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabOutOfStockSubscriptions.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProduct.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabProduct.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProduct.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabProduct.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProductPrice.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabProductPrice.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabProductPrice.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabProductPrice.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabReviews.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabReviews.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.TabReviews.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.TabReviews.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.cshtml
index 6b6c31ef2..c374cb593 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdate.cshtml
@@ -35,7 +35,7 @@
<tabstrip-item text="@Loc["Admin.Customers.Customers.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -44,58 +44,58 @@
<tabstrip-item text="@Loc["Admin.Customers.Customers.Orders"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabOrders" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabOrders" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.Customers.Reviews"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabReviews" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabReviews" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.Customers.Addresses"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.TabAddresses" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabAddresses" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.Customers.ShoppingCartWishlist"]" tab-index="4">
<content>
<div>
- <partial name="_CreateOrUpdate.TabCurrentShoppingCart" model="Model" />
- <partial name="_CreateOrUpdate.TabCurrentWishlist" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabCurrentShoppingCart" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabCurrentWishlist" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.Customers.PersonalizedProduct"]" tab-index="5">
<content>
<div>
- <partial name="_CreateOrUpdate.TabProduct" model="Model" />
- <partial name="_CreateOrUpdate.TabProductPrice" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabProduct" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabProductPrice" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.Customers.CustomerNotes"]" tab-index="6">
<content>
<div>
- <partial name="_CreateOrUpdate.TabNotes" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabNotes" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.Customers.ActivityLog"]" tab-index="7">
<content>
<div>
- <partial name="_CreateOrUpdate.TabActivityLog" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabActivityLog" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.Customers.OutOfStockSubscriptions"]" tab-index="8">
<content>
<div>
- <partial name="_CreateOrUpdate.TabOutOfStockSubscriptions" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabOutOfStockSubscriptions" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -104,7 +104,7 @@
<tabstrip-item text="@Loc["Admin.Customers.Customers.LoyaltyPoints"]" tab-index="9">
<content>
<div>
- <partial name="_CreateOrUpdate.TabLoyaltyPoints" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabLoyaltyPoints" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -114,7 +114,7 @@
<tabstrip-item text="@Loc["Admin.Customers.Customers.Documents"]" tab-index="10">
<content>
<div>
- <partial name="_CreateOrUpdate.Documents" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Documents" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdateAddress.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdateAddress.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CreateOrUpdateAddress.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CreateOrUpdateAddress.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CustomerAttributes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CustomerAttributes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/_CustomerAttributes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Customer/Partials/CustomerAttributes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/AddCondition.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/AddCondition.cshtml
index a8c721a42..a1aac8a9d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/AddCondition.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/AddCondition.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateCondition" model="Model" />
+ <partial name="Partials/CreateOrUpdateCondition" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Create.cshtml
index 427df019d..ca2c94148 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Create.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Edit.cshtml
index b22ed4e22..2f5a32070 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Edit.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/EditCondition.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/EditCondition.cshtml
index 241e5f00b..f5451e24f 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/EditCondition.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/EditCondition.cshtml
@@ -26,7 +26,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateCondition" model="Model" />
+ <partial name="Partials/CreateOrUpdateCondition" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCategory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCategory.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCategory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCategory.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCollection.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCollection.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCollection.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCollection.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCustomCustomerAttribute.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCustomCustomerAttribute.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCustomCustomerAttribute.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCustomCustomerAttribute.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCustomerGroup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCustomerGroup.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCustomerGroup.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCustomerGroup.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCustomerRegister.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCustomerRegister.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCustomerRegister.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCustomerRegister.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCustomerTag.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCustomerTag.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionCustomerTag.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionCustomerTag.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProduct.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionProduct.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProduct.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionProduct.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProductAttribute.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionProductAttribute.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProductAttribute.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionProductAttribute.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProductSpecification.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionProductSpecification.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionProductSpecification.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionProductSpecification.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionStore.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionStore.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionStore.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionStore.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionUrlCurrent.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionUrlCurrent.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionUrlCurrent.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionUrlCurrent.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionUrlReferrer.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionUrlReferrer.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionUrlReferrer.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionUrlReferrer.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionVendor.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionVendor.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_ConditionVendor.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/ConditionVendor.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.TabConditions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.TabConditions.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.TabConditions.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.TabConditions.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.TabHistory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.TabHistory.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.TabHistory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.TabHistory.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.TabReaction.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.TabReaction.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.TabReaction.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.TabReaction.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.cshtml
similarity index 90%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.cshtml
index 03c0ee488..5ef804375 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdate.cshtml
@@ -64,28 +64,28 @@
<tabstrip-item text="@Loc["Admin.Customers.CustomerAction.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerAction.Conditions"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabConditions" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabConditions" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerAction.Reaction"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabReaction" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabReaction" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerAction.History"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.TabHistory" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabHistory" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdateCondition.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdateCondition.cshtml
similarity index 76%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdateCondition.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdateCondition.cshtml
index 2e1aa7af3..fdaada4e3 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/_CreateOrUpdateCondition.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAction/Partials/CreateOrUpdateCondition.cshtml
@@ -9,98 +9,98 @@
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.Info"]" tab-index="0" id="tab-info">
<content>
<div>
- <partial name="_ConditionInfo" model="Model" />
+ <partial name="Partials/ConditionInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.Products"]" tab-index="1" id="tab-product">
<content>
<div>
- <partial name="_ConditionProduct" model="Model" />
+ <partial name="Partials/ConditionProduct" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.Categories"]" tab-index="2" id="tab-category">
<content>
<div>
- <partial name="_ConditionCategory" model="Model" />
+ <partial name="Partials/ConditionCategory" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.Collections"]" tab-index="3" id="tab-collection">
<content>
<div>
- <partial name="_ConditionCollection" model="Model" />
+ <partial name="Partials/ConditionCollection" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.Vendors"]" tab-index="4" id="tab-vendor">
<content>
<div>
- <partial name="_ConditionVendor" model="Model" />
+ <partial name="Partials/ConditionVendor" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.ProductAttributes"]" tab-index="5" id="tab-productAttribute">
<content>
<div>
- <partial name="_ConditionProductAttribute" model="Model" />
+ <partial name="Partials/ConditionProductAttribute" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.ProductSpecifications"]" tab-index="6" id="tab-productSpecification">
<content>
<div>
- <partial name="_ConditionProductSpecification" model="Model" />
+ <partial name="Partials/ConditionProductSpecification" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.CustomerGroup"]" tab-index="7" id="tab-customerGroup">
<content>
<div>
- <partial name="_ConditionCustomerGroup" model="Model" />
+ <partial name="Partials/ConditionCustomerGroup" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.CustomerTag"]" tab-index="8" id="tab-customerTag">
<content>
<div>
- <partial name="_ConditionCustomerTag" model="Model" />
+ <partial name="Partials/ConditionCustomerTag" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.CustomerRegister"]" tab-index="9" id="tab-customerRegister">
<content>
<div>
- <partial name="_ConditionCustomerRegister" model="Model" />
+ <partial name="Partials/ConditionCustomerRegister" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.CustomCustomerAttribute"]" tab-index="10" id="tab-customAttribute">
<content>
<div>
- <partial name="_ConditionCustomCustomerAttribute" model="Model" />
+ <partial name="Partials/ConditionCustomCustomerAttribute" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.UrlReferrer"]" tab-index="11" id="tab-urlReferrer">
<content>
<div>
- <partial name="_ConditionUrlReferrer" model="Model" />
+ <partial name="Partials/ConditionUrlReferrer" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.UrlCurrent"]" tab-index="12" id="tab-urlCurrent">
<content>
<div>
- <partial name="_ConditionUrlCurrent" model="Model" />
+ <partial name="Partials/ConditionUrlCurrent" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.Store"]" tab-index="13" id="tab-store">
<content>
<div>
- <partial name="_ConditionStore" model="Model" />
+ <partial name="Partials/ConditionStore" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Create.cshtml
index 7a54776f6..3ef658bf1 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Edit.cshtml
index c46c7a941..04f217dd3 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Edit.cshtml
@@ -25,7 +25,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Partials/CreateOrUpdate.TabValues.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.TabValues.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Partials/CreateOrUpdate.TabValues.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Partials/CreateOrUpdate.cshtml
similarity index 83%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Partials/CreateOrUpdate.cshtml
index f404839e5..e2ebb5096 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Partials/CreateOrUpdate.cshtml
@@ -9,14 +9,14 @@
<tabstrip-item text="@Loc["Admin.Customers.CustomerAttributes.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerAttributes.Values"]" tab-index="1" id="tab-customerattributesvalues">
<content>
<div>
- <partial name="_CreateOrUpdate.TabValues" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabValues" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdateValue.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Partials/CreateOrUpdateValue.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/_CreateOrUpdateValue.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/Partials/CreateOrUpdateValue.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/ValueCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/ValueCreatePopup.cshtml
index dd9f1edd5..f09c3156d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/ValueCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/ValueCreatePopup.cshtml
@@ -20,7 +20,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/ValueEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/ValueEditPopup.cshtml
index a16764cad..91ea39c9e 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/ValueEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerAttribute/ValueEditPopup.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Create.cshtml
index c1c0afe1a..892c5b668 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Create.cshtml
@@ -21,7 +21,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Edit.cshtml
index 71d3fcf66..17bc5a0ab 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabAcl.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Partials/CreateOrUpdate.TabAcl.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabAcl.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Partials/CreateOrUpdate.TabAcl.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Partials/CreateOrUpdate.TabProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.TabProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Partials/CreateOrUpdate.TabProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Partials/CreateOrUpdate.cshtml
similarity index 82%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Partials/CreateOrUpdate.cshtml
index c3c3beb25..d668efcab 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerGroup/Partials/CreateOrUpdate.cshtml
@@ -11,14 +11,14 @@
<tabstrip-item text="@Loc["Admin.Customers.CustomerGroups.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerGroups.Products"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabProducts" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -27,7 +27,7 @@
<tabstrip-item text="@Loc["Admin.Customers.CustomerGroups.Acl"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabAcl" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabAcl" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -35,7 +35,7 @@
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="3">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/AddCondition.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/AddCondition.cshtml
index 5a94a2aa2..a3a6e18e5 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/AddCondition.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/AddCondition.cshtml
@@ -25,7 +25,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateCondition" model="Model" />
+ <partial name="Partials/CreateOrUpdateCondition" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/AddLevel.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/AddLevel.cshtml
index a7ac2c915..4bdb58c0c 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/AddLevel.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/AddLevel.cshtml
@@ -25,7 +25,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateLevel" model="Model" />
+ <partial name="Partials/CreateOrUpdateLevel" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Create.cshtml
index 318ea3138..a9af11610 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Create.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Edit.cshtml
index a25fadfaf..29f73c362 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/EditCondition.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/EditCondition.cshtml
index 2de5d3775..774308d70 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/EditCondition.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/EditCondition.cshtml
@@ -26,7 +26,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateCondition" model="Model" />
+ <partial name="Partials/CreateOrUpdateCondition" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/EditLevel.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/EditLevel.cshtml
index 2d0c890c6..f67e88eaf 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/EditLevel.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/EditLevel.cshtml
@@ -28,7 +28,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateLevel" model="Model" />
+ <partial name="Partials/CreateOrUpdateLevel" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCategory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCategory.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCategory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCategory.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCollection.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCollection.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCollection.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCollection.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCustomCustomerAttribute.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCustomCustomerAttribute.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCustomCustomerAttribute.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCustomCustomerAttribute.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCustomerGroup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCustomerGroup.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCustomerGroup.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCustomerGroup.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCustomerRegister.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCustomerRegister.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCustomerRegister.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCustomerRegister.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCustomerTag.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCustomerTag.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionCustomerTag.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionCustomerTag.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionProduct.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionProduct.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_ConditionProduct.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_ConditionProduct.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.TabConditions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.TabConditions.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.TabConditions.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.TabConditions.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.TabHistory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.TabHistory.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.TabHistory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.TabHistory.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.TabLevels.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.TabLevels.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.TabLevels.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.TabLevels.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.cshtml
similarity index 81%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.cshtml
index 91510b668..5dcee74f0 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdate.cshtml
@@ -21,28 +21,28 @@
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Conditions"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabConditions" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabConditions" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Levels"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabLevels" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabLevels" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.History"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.TabHistory" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabHistory" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdateCondition.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdateCondition.cshtml
similarity index 78%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdateCondition.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdateCondition.cshtml
index e6385e027..49ff34c40 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdateCondition.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdateCondition.cshtml
@@ -9,56 +9,56 @@
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Condition.Info"]" tab-index="0">
<content>
<div>
- <partial name="_ConditionInfo" model="Model" />
+ <partial name="Partials/ConditionInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerActionCondition.Products"]" tab-index="1" id="tab-product">
<content>
<div>
- <partial name="_ConditionProduct" model="Model" />
+ <partial name="Partials/ConditionProduct" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Condition.Categories"]" tab-index="2" id="tab-category">
<content>
<div>
- <partial name="_ConditionCategory" model="Model" />
+ <partial name="Partials/ConditionCategory" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Condition.Collections"]" tab-index="3" id="tab-collection">
<content>
<div>
- <partial name="_ConditionCollection" model="Model" />
+ <partial name="Partials/ConditionCollection" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Condition.CustomerGroup"]" tab-index="4" id="tab-customerGroup">
<content>
<div>
- <partial name="_ConditionCustomerGroup" model="Model" />
+ <partial name="Partials/ConditionCustomerGroup" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Condition.CustomerTag"]" tab-index="5" id="tab-customerTag">
<content>
<div>
- <partial name="_ConditionCustomerTag" model="Model" />
+ <partial name="Partials/ConditionCustomerTag" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Condition.CustomerRegister"]" tab-index="6" id="tab-customerRegister">
<content>
<div>
- <partial name="_ConditionCustomerRegister" model="Model" />
+ <partial name="Partials/ConditionCustomerRegister" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerReminder.Condition.CustomCustomerAttribute"]" tab-index="7" id="tab-customAttribute">
<content>
<div>
- <partial name="_ConditionCustomCustomerAttribute" model="Model" />
+ <partial name="Partials/ConditionCustomCustomerAttribute" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdateLevel.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdateLevel.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/_CreateOrUpdateLevel.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerReminder/Partials/_CreateOrUpdateLevel.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Create.cshtml
index f485b9d70..7f70b1fad 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Create.cshtml
@@ -20,7 +20,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Edit.cshtml
index 1ef7999ca..fbf565108 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Edit.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabCustomers.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Partials/CreateOrUpdate.TabCustomers.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabCustomers.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Partials/CreateOrUpdate.TabCustomers.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Partials/CreateOrUpdate.TabProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.TabProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Partials/CreateOrUpdate.TabProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Partials/CreateOrUpdate.cshtml
index aee570e08..5bb0fd06b 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/CustomerTag/Partials/CreateOrUpdate.cshtml
@@ -7,21 +7,21 @@
<tabstrip-item text="@Loc["Admin.Customers.CustomerTags.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerTags.Products"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabProducts" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Customers.CustomerTags.Customers"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabCustomers" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabCustomers" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Create.cshtml
index ad1a46fba..1c0ea9b24 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Edit.cshtml
index 8de216503..a80f965f4 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Edit.cshtml
@@ -25,7 +25,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToBrands.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToBrands.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToBrands.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToBrands.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCategories.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToCategories.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCategories.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToCategories.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCollections.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToCollections.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToCollections.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToCollections.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToVendors.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToVendors.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabAppliedToVendors.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabAppliedToVendors.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabCouponCodes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabCouponCodes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabCouponCodes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabCouponCodes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabHistory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabHistory.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabHistory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabHistory.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabRequirements.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabRequirements.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.TabRequirements.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.TabRequirements.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.cshtml
similarity index 73%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.cshtml
index 6f9143bec..8114ffe70 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Discount/Partials/CreateOrUpdate.cshtml
@@ -7,56 +7,56 @@
<tabstrip-item text="@Loc["admin.marketing.Discounts.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Discounts.CouponCodes"]" tab-index="1" id="tab-couponcode">
<content>
<div>
- <partial name="_CreateOrUpdate.TabCouponCodes" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabCouponCodes" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Discounts.Requirements"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabRequirements" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabRequirements" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Discounts.AppliedToProducts"]" tab-index="3" id="tab-applied-to-products">
<content>
<div>
- <partial name="_CreateOrUpdate.TabAppliedToProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabAppliedToProducts" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Discounts.AppliedToCategories"]" tab-index="4" id="tab-applied-to-categories">
<content>
<div>
- <partial name="_CreateOrUpdate.TabAppliedToCategories" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabAppliedToCategories" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Discounts.AppliedToBrands"]" tab-index="5" id="tab-applied-to-brands">
<content>
<div>
- <partial name="_CreateOrUpdate.TabAppliedToBrands" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabAppliedToBrands" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Discounts.AppliedToCollections"]" tab-index="6" id="tab-applied-to-collections">
<content>
<div>
- <partial name="_CreateOrUpdate.TabAppliedToCollections" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabAppliedToCollections" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.Discounts.AppliedToVendors"]" tab-index="7" id="tab-applied-to-vendors">
<content>
<div>
- <partial name="_CreateOrUpdate.TabAppliedToVendors" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabAppliedToVendors" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -65,7 +65,7 @@
<tabstrip-item text="@Loc["admin.marketing.Discounts.History"]" tab-index="8">
<content>
<div>
- <partial name="_CreateOrUpdate.TabHistory" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabHistory" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/CreateDocument.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/CreateDocument.cshtml
index 2fddeb66f..cd0ca0ebf 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/CreateDocument.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/CreateDocument.cshtml
@@ -27,7 +27,7 @@
</div>
<vc:admin-widget widget-zone="document_details_buttons" additional-data="null" />
<div class="x_content form">
- <partial name="_CreateOrUpdateDocument" model="Model" />
+ <partial name="Partials/CreateOrUpdateDocument" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/CreateType.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/CreateType.cshtml
index aa02b73b5..02110133d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/CreateType.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/CreateType.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateType" model="Model" />
+ <partial name="Partials/CreateOrUpdateType" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/EditDocument.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/EditDocument.cshtml
index f13530715..ed392a554 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/EditDocument.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/EditDocument.cshtml
@@ -60,7 +60,7 @@
</div>
<vc:admin-widget widget-zone="document_details_buttons" additional-data="Model" />
<div class="x_content form">
- <partial name="_CreateOrUpdateDocument" model="Model" />
+ <partial name="Partials/CreateOrUpdateDocument" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/EditType.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/EditType.cshtml
index c2378eb56..5b9bc765a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/EditType.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/EditType.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateType" model="Model" />
+ <partial name="Partials/CreateOrUpdateType" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/_CreateOrUpdateDocument.Account.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/Partials/CreateOrUpdateDocument.Account.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/_CreateOrUpdateDocument.Account.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/Partials/CreateOrUpdateDocument.Account.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/_CreateOrUpdateDocument.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/Partials/CreateOrUpdateDocument.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/_CreateOrUpdateDocument.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/Partials/CreateOrUpdateDocument.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/_CreateOrUpdateDocument.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/Partials/CreateOrUpdateDocument.cshtml
similarity index 85%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/_CreateOrUpdateDocument.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/Partials/CreateOrUpdateDocument.cshtml
index d0f324b74..a5d2b67a1 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/_CreateOrUpdateDocument.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/Partials/CreateOrUpdateDocument.cshtml
@@ -10,21 +10,21 @@
<tabstrip-item text="@Loc["Admin.Documents.Document.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdateDocument.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdateDocument.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Documents.Document.Account"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdateDocument.Account" model="Model" />
+ <partial name="Partials/CreateOrUpdateDocument.Account" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="2">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/_CreateOrUpdateType.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/Partials/CreateOrUpdateType.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/_CreateOrUpdateType.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Document/Partials/CreateOrUpdateType.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Create.cshtml
index d93590599..ab3a81433 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Create.cshtml
@@ -21,7 +21,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Edit.cshtml
index 3126a4c1f..d18c194e6 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Partials/CreateOrUpdate.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/EmailAccount/Partials/CreateOrUpdate.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Create.cshtml
index 0472698e3..0f8c9e5d8 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Create.cshtml
@@ -21,7 +21,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Edit.cshtml
index ebe53ead6..adde644cc 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Edit.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/_CreateOrUpdate.TabHistory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Partials/CreateOrUpdate.TabHistory.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/_CreateOrUpdate.TabHistory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Partials/CreateOrUpdate.TabHistory.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Partials/CreateOrUpdate.cshtml
similarity index 81%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Partials/CreateOrUpdate.cshtml
index 43624b83f..386c2ec40 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/GiftVoucher/Partials/CreateOrUpdate.cshtml
@@ -7,7 +7,7 @@
<tabstrip-item text="@Loc["Admin.GiftVouchers.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -16,7 +16,7 @@
<tabstrip-item text="@Loc["Admin.GiftVouchers.History"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabHistory" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabHistory" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/AddAttribute.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/AddAttribute.cshtml
index 71d088064..811a77b80 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/AddAttribute.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/AddAttribute.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateAttribute" model="Model" />
+ <partial name="Partials/CreateOrUpdateAttribute" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Create.cshtml
index 1635aabf7..8f28813f5 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Create.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Edit.cshtml
index 92f967537..95e62ace0 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Edit.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/EditAttribute.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/EditAttribute.cshtml
index bd2a8e79e..edded7e86 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/EditAttribute.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/EditAttribute.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateAttribute" model="Model" />
+ <partial name="Partials/CreateOrUpdateAttribute" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdate.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdate.TabValues.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdate.TabValues.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdate.TabValues.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdate.cshtml
similarity index 80%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdate.cshtml
index 09b68868d..41f70f5b2 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdate.cshtml
@@ -7,14 +7,14 @@
<tabstrip-item text="@Loc["admin.marketing.InteractiveForms.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.InteractiveForms.Attribute"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabValues" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabValues" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdateAttribute.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdateAttribute.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.TabValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdateAttribute.TabValues.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.TabValues.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdateAttribute.TabValues.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdateAttribute.cshtml
similarity index 80%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdateAttribute.cshtml
index b1a24ab00..246e58864 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttribute.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdateAttribute.cshtml
@@ -8,14 +8,14 @@
<tabstrip-item text="@Loc["admin.marketing.InteractiveForms.Attribute.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdateAttribute.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdateAttribute.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["admin.marketing.InteractiveForms.Attribute.Values"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdateAttribute.TabValues" model="Model" />
+ <partial name="Partials/CreateOrUpdateAttribute.TabValues" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttributeValue.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdateAttributeValue.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/_CreateOrUpdateAttributeValue.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/Partials/CreateOrUpdateAttributeValue.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/ValueCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/ValueCreatePopup.cshtml
index f9c8ff933..4326e6684 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/ValueCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/ValueCreatePopup.cshtml
@@ -20,7 +20,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateAttributeValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateAttributeValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/ValueEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/ValueEditPopup.cshtml
index 50add1827..7490eeff0 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/ValueEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/InteractiveForm/ValueEditPopup.cshtml
@@ -21,7 +21,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateAttributeValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateAttributeValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/CreateArticle.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/CreateArticle.cshtml
index 1fd1c7959..b451adf0c 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/CreateArticle.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/CreateArticle.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateArticle" model="Model" />
+ <partial name="Partials/CreateOrUpdateArticle" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/CreateCategory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/CreateCategory.cshtml
index 1a66b89c6..e3db1a188 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/CreateCategory.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/CreateCategory.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateCategory" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/EditArticle.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/EditArticle.cshtml
index c4192a019..ded51ab3e 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/EditArticle.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/EditArticle.cshtml
@@ -27,7 +27,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateArticle" model="Model" />
+ <partial name="Partials/CreateOrUpdateArticle" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/EditCategory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/EditCategory.cshtml
index 305bd081d..451bde20a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/EditCategory.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/EditCategory.cshtml
@@ -27,7 +27,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateCategory" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabActivityLog.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.TabActivityLog.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabActivityLog.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.TabActivityLog.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabRelated.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.TabRelated.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabRelated.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.TabRelated.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.cshtml
similarity index 76%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.cshtml
index 0495f784f..bb4c8ff27 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateArticle.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateArticle.cshtml
@@ -7,28 +7,28 @@
<tabstrip-item text="@Loc["Admin.Content.Knowledgebase.KnowledgebaseArticle.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdateArticle.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdateArticle.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.Knowledgebase.KnowledgebaseArticle.Seo"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdateArticle.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdateArticle.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.Knowledgebase.KnowledgebaseArticle.Related"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdateArticle.TabRelated" model="Model" />
+ <partial name="Partials/CreateOrUpdateArticle.TabRelated" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.Knowledgebase.KnowledgebaseArticle.ActivityLog"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdateArticle.TabActivityLog" model="Model" />
+ <partial name="Partials/CreateOrUpdateArticle.TabActivityLog" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.TabActivityLog.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.TabActivityLog.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.TabActivityLog.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.TabActivityLog.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.TabArticles.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.TabArticles.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.TabArticles.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.TabArticles.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.cshtml
similarity index 76%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.cshtml
index 086062d55..71df4a040 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/_CreateOrUpdateCategory.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Knowledgebase/Partials/CreateOrUpdateCategory.cshtml
@@ -7,28 +7,28 @@
<tabstrip-item text="@Loc["Admin.Content.Knowledgebase.KnowledgebaseCategory.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdateCategory.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.Knowledgebase.KnowledgebaseCategory.Articles"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdateCategory.TabArticles" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory.TabArticles" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.Knowledgebase.KnowledgebaseCategory.Seo"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdateCategory.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.Knowledgebase.KnowledgebaseCategory.ActivityLog"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdateCategory.TabActivityLog" model="Model" />
+ <partial name="Partials/CreateOrUpdateCategory.TabActivityLog" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Create.cshtml
index 3a458312e..11b883a95 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Edit.cshtml
index 59d10c119..bdc651abd 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Edit.cshtml
@@ -26,7 +26,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/List.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/List.cshtml
index 253acf122..a70f1be41 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/List.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/List.cshtml
@@ -3,7 +3,6 @@
ViewBag.Title = Loc["Admin.Configuration.Languages"];
}
-
<div class="row">
<div class="col-md-12">
<div class="x_panel light form-fit">
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/_CreateOrUpdate.TabResources.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Partials/CreateOrUpdate.TabResources.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/_CreateOrUpdate.TabResources.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Partials/CreateOrUpdate.TabResources.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Partials/CreateOrUpdate.cshtml
index 2dc38c97a..9a0a45249 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Language/Partials/CreateOrUpdate.cshtml
@@ -7,14 +7,14 @@
<tabstrip-item text="@Loc["Admin.Configuration.Languages.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Configuration.Languages.Resources"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabResources" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabResources" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Index.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Index.cshtml
index e88137f45..9eaa15fce 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Index.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Index.cshtml
@@ -11,21 +11,21 @@
<tabstrip-item text="@Loc["Admin.Configuration.Measures.Dimensions"]" tab-index="0">
<content>
<div>
- <partial name="_dimensions" />
+ <partial name="Partials/Dimensions" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Configuration.Measures.Units"]" tab-index="1">
<content>
<div>
- <partial name="_units" />
+ <partial name="Partials/Units" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Configuration.Measures.Weights"]" tab-index="2">
<content>
<div>
- <partial name="_weights"/>
+ <partial name="Partials/Weights"/>
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/_dimensions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Partials/Dimensions.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/_dimensions.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Partials/Dimensions.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/_units.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Partials/Units.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/_units.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Partials/Units.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/_weights.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Partials/Weights.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/_weights.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Measure/Partials/Weights.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Edit.cshtml
index 77af7247d..81d6a3f14 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_CreateOrUpdate.TabAddress.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/CreateOrUpdate.TabAddress.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_CreateOrUpdate.TabAddress.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/CreateOrUpdate.TabAddress.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_CreateOrUpdate.TabDocuments.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/CreateOrUpdate.TabDocuments.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_CreateOrUpdate.TabDocuments.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/CreateOrUpdate.TabDocuments.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/CreateOrUpdate.cshtml
similarity index 81%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/CreateOrUpdate.cshtml
index 4f3474baf..929eedfd4 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/CreateOrUpdate.cshtml
@@ -13,7 +13,7 @@
<tabstrip-item text="@Loc["Admin.Orders.MerchandiseReturns.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -22,7 +22,7 @@
<tabstrip-item text="@Loc["Admin.Orders.MerchandiseReturns.Address"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabAddress" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabAddress" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -32,7 +32,7 @@
<tabstrip-item text="@Loc["Admin.Orders.MerchandiseReturns.Documents"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDocuments" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDocuments" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -40,7 +40,7 @@
<tabstrip-item text="@Loc["Admin.Orders.MerchandiseReturns.MerchandiseReturnNotes"]" tab-index="3">
<content>
<div>
- <partial name="_MerchandiseReturnNotes" model="Model" />
+ <partial name="Partials/MerchandiseReturnNotes" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -48,7 +48,7 @@
<content>
<div>
<div class="form-horizontal">
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</div>
</content>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_MerchandiseReturnNotes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/MerchandiseReturnNotes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/_MerchandiseReturnNotes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/MerchandiseReturn/Partials/MerchandiseReturnNotes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Create.cshtml
index 5af0c5c32..68fd61aee 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Edit.cshtml
index 111115b48..7713fae0d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Edit.cshtml
@@ -25,7 +25,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Partials/CreateOrUpdate.cshtml
similarity index 88%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Partials/CreateOrUpdate.cshtml
index a3786d085..6c070bf4d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/MessageTemplate/Partials/CreateOrUpdate.cshtml
@@ -9,7 +9,7 @@
<tabstrip-item text="@Loc["Admin.Content.MessageTemplates.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Create.cshtml
index 1f2e23a15..1caf51595 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Edit.cshtml
index d84b719cf..e2c5a5f12 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Edit.cshtml
@@ -28,7 +28,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/_CreateOrUpdate.TabComments.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Partials/CreateOrUpdate.TabComments.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/News/_CreateOrUpdate.TabComments.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Partials/CreateOrUpdate.TabComments.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/News/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/_CreateOrUpdate.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Partials/CreateOrUpdate.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/News/_CreateOrUpdate.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Partials/CreateOrUpdate.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Partials/CreateOrUpdate.cshtml
similarity index 76%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/News/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Partials/CreateOrUpdate.cshtml
index 79a608a8e..68ed086ea 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/News/Partials/CreateOrUpdate.cshtml
@@ -7,21 +7,21 @@
<tabstrip-item text="@Loc["Admin.Content.News.NewsItems.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.SEO"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Content.News.NewsItems.Comments"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabComments" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabComments" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Create.cshtml
index c554a5717..ca4bebc7a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Edit.cshtml
index 57778f117..43f0046da 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Edit.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Partials/CreateOrUpdate.cshtml
similarity index 82%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Partials/CreateOrUpdate.cshtml
index 0e526bc2e..6745253c6 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/NewsletterCategory/Partials/CreateOrUpdate.cshtml
@@ -7,7 +7,7 @@
<tabstrip-item text="@Loc["admin.marketing.NewsletterCategory.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/AddProductToOrderDetails.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/AddProductToOrderDetails.cshtml
index cab77890b..5f90e60fd 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/AddProductToOrderDetails.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/AddProductToOrderDetails.cshtml
@@ -62,13 +62,13 @@
</div>
@{
var dataDict = new ViewDataDictionary(ViewData) { new KeyValuePair<string, object>("productId", Model.ProductId) };
- <partial name="_ProductAddAttributes" model="Model.ProductAttributes" view-data="dataDict" />
+ <partial name="Partials/ProductAddAttributes" model="Model.ProductAttributes" view-data="dataDict" />
}
@{
var dataDictGiftVoucher = new ViewDataDictionary(ViewData);
dataDictGiftVoucher.TemplateInfo.HtmlFieldPrefix = "giftvoucher";
- <partial name="_ProductAddGiftVoucherInfo" model="Model.GiftVoucher" view-data="dataDictGiftVoucher" />
+ <partial name="Partials/ProductAddGiftVoucherInfo" model="Model.GiftVoucher" view-data="dataDictGiftVoucher" />
}
<div class="form-actions">
<div class="row">
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/AddressEdit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/AddressEdit.cshtml
index d3f45c955..8a8c80f4b 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/AddressEdit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/AddressEdit.cshtml
@@ -26,7 +26,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateAddress" model="Model" />
+ <partial name="Partials/CreateOrUpdateAddress" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Edit.cshtml
index ffa14582d..3d6f34839 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Edit.cshtml
@@ -51,7 +51,7 @@
<tabstrip-item text="@Loc["Admin.Orders.Info"]" tab-index="0">
<content>
<div>
- <partial name="_OrderDetails.Info" model="Model" />
+ <partial name="Partials/OrderDetails.Info" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -59,7 +59,7 @@
<tabstrip-item text="@Loc["Admin.Orders.Addresses"]" tab-index="1">
<content>
<div>
- <partial name="_OrderDetails.Addresses" model="Model" />
+ <partial name="Partials/OrderDetails.Addresses" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -68,7 +68,7 @@
<tabstrip-item text="@Loc["Admin.Orders.Shipments"]" tab-index="2">
<content>
<div>
- <partial name="_OrderDetails.Shipment" model="Model" />
+ <partial name="Partials/OrderDetails.Shipment" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -76,7 +76,7 @@
<tabstrip-item text="@Loc["Admin.Orders.Products"]" tab-index="3">
<content>
<div>
- <partial name="_OrderDetails.Products" model="Model" />
+ <partial name="Partials/OrderDetails.Products" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -85,7 +85,7 @@
<tabstrip-item text="@Loc["Admin.Orders.OrderNotes"]" tab-index="4">
<content>
<div>
- <partial name="_OrderDetails.Notes" model="Model" />
+ <partial name="Partials/OrderDetails.Notes" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -95,7 +95,7 @@
<tabstrip-item text="@Loc["Admin.Orders.Documents"]" tab-index="5">
<content>
<div>
- <partial name="_OrderDetails.Documents" model="Model" />
+ <partial name="Partials/OrderDetails.Documents" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -107,7 +107,7 @@
<input type="submit" value="@Loc["Admin.Common.Save"]" id="btnSaveUserFields" name="save-generic-attributes" asp-action="EditUserFields" class="k-button" />
</div>
<div class="form-horizontal">
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</div>
</content>
@@ -117,7 +117,7 @@
<tabstrip-item text="@Loc["Admin.Orders.Notifications"]" tab-index="7">
<content>
<div>
- <partial name="_OrderDetails.Notifications" model="Model" />
+ <partial name="Partials/OrderDetails.Notifications" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_CreateOrUpdateAddress.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/CreateOrUpdateAddress.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_CreateOrUpdateAddress.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/CreateOrUpdateAddress.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Addresses.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Addresses.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Addresses.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Addresses.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Documents.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Documents.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Documents.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Documents.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Info.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Info.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Info.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Info.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Notes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Notes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Notes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Notes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Notifications.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Notifications.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Notifications.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Notifications.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Products.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Products.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Products.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Products.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Shipment.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Shipment.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_OrderDetails.Shipment.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/OrderDetails.Shipment.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_ProductAddAttributes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/ProductAddAttributes.cshtml
similarity index 98%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_ProductAddAttributes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/ProductAddAttributes.cshtml
index 431cf4218..12d87b974 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_ProductAddAttributes.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/ProductAddAttributes.cshtml
@@ -82,6 +82,7 @@
control-year="@(controlId + "_year")"
begin-year="@(DateTime.Now.Year)"
end-year="@(DateTime.Now.Year+1)"
+ PartialViewName="Partials/DateDropDowns"
class="col-12 input-group" />
}
break;
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_ProductAddGiftVoucherInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/ProductAddGiftVoucherInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/_ProductAddGiftVoucherInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Order/Partials/ProductAddGiftVoucherInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Edit.cshtml
index 28948387b..98c11d51b 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Edit.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/_CreateOrUpdate.TabOrders.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Partials/CreateOrUpdate.TabOrders.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/_CreateOrUpdate.TabOrders.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Partials/CreateOrUpdate.TabOrders.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Partials/CreateOrUpdate.cshtml
similarity index 82%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Partials/CreateOrUpdate.cshtml
index 058594c37..c549a7727 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/OrderTags/Partials/CreateOrUpdate.cshtml
@@ -10,14 +10,14 @@
<tabstrip-item text="@Loc["Admin.Orders.OrderTags.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Orders.OrderTags.Orders"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabOrders" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabOrders" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Create.cshtml
index 593b6d71a..7f1c20777 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Edit.cshtml
index 9bbb7ca1e..d8200d0f9 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Edit.cshtml
@@ -28,7 +28,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/_CreateOrUpdate.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Partials/CreateOrUpdate.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/_CreateOrUpdate.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Partials/CreateOrUpdate.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Partials/CreateOrUpdate.cshtml
index 3adbcb3dd..75957ef0c 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Page/Partials/CreateOrUpdate.cshtml
@@ -7,21 +7,21 @@
<tabstrip-item text="@Loc["Admin.Content.Pages.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.SEO"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="2">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/MethodRestrictions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/MethodRestrictions.cshtml
index f70a62770..9cf2d50dc 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/MethodRestrictions.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/MethodRestrictions.cshtml
@@ -25,14 +25,14 @@
<tabstrip-item text="@Loc["Admin.Configuration.Payment.MethodRestrictions.Country"]" tab-index="0">
<content>
<div>
- <partial name="MethodRestrictions.TabCountry" model="Model" />
+ <partial name="Partials/MethodRestrictions.TabCountry" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Configuration.Payment.MethodRestrictions.Shipping"]" tab-index="1">
<content>
<div>
- <partial name="MethodRestrictions.TabShipping" model="Model" />
+ <partial name="Partials/MethodRestrictions.TabShipping" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/MethodRestrictions.TabCountry.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/Partials/MethodRestrictions.TabCountry.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/MethodRestrictions.TabCountry.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/Partials/MethodRestrictions.TabCountry.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/MethodRestrictions.TabShipping.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/Partials/MethodRestrictions.TabShipping.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/MethodRestrictions.TabShipping.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Payment/Partials/MethodRestrictions.TabShipping.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Edit.cshtml
index 17d309e59..5ba090535 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Edit.cshtml
@@ -92,7 +92,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_Update" model="Model" />
+ <partial name="Partials/Update" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/_Update.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Partials/Update.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/_Update.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/PaymentTransaction/Partials/Update.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/AttributeCombinationPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/AttributeCombinationPopup.cshtml
index a27cc9903..7a7a18805 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/AttributeCombinationPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/AttributeCombinationPopup.cshtml
@@ -54,7 +54,7 @@
}
@if (string.IsNullOrEmpty(Model.Id))
{
- <partial name="_ProductAttributes" model="Model.ProductAttributes" />
+ <partial name="Partials/ProductAttributes" model="Model.ProductAttributes" />
}
else
{
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Create.cshtml
index 63337f348..73f96089f 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Edit.cshtml
index 94f2eb2c1..c10827cb4 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Edit.cshtml
@@ -32,7 +32,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Activitylog.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Activitylog.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Activitylog.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Activitylog.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Additional.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Additional.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Additional.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Additional.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.AssociatedProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.AssociatedProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.AssociatedProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.AssociatedProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Bids.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Bids.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Bids.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Bids.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.BundleProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.BundleProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.BundleProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.BundleProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Calendar.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Calendar.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Calendar.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Calendar.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Categories.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Categories.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Categories.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Categories.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Collections.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Collections.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Collections.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Collections.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.CrossSells.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.CrossSells.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.CrossSells.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.CrossSells.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Discounts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Discounts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Discounts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Discounts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Documents.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Documents.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Documents.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Documents.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Info.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Info.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Info.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Info.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Inventory.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Inventory.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Inventory.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Inventory.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Pictures.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Pictures.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Pictures.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Pictures.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Prices.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Prices.cshtml
similarity index 99%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Prices.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Prices.cshtml
index f4c9427ef..07a257a38 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Prices.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Prices.cshtml
@@ -11,7 +11,7 @@
</div>
</div>
<div class="form-group">
- <partial name="_CreateOrUpdate.ProductPrices" model="Model" />
+ <partial name="Partials/CreateOrUpdate.ProductPrices" model="Model" />
</div>
<div class="form-group">
<admin-label asp-for="OldPrice" />
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributeCombinations.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.ProductAttributes.TabAttributeCombinations.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributeCombinations.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.ProductAttributes.TabAttributeCombinations.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.ProductAttributes.TabAttributes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.TabAttributes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.ProductAttributes.TabAttributes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.ProductAttributes.cshtml
similarity index 83%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.ProductAttributes.cshtml
index 6088a384d..1e0ab5629 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductAttributes.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.ProductAttributes.cshtml
@@ -8,14 +8,14 @@
<tabstrip-item text="@Loc["Admin.Catalog.Products.ProductAttributes.Attributes"]" tab-index="100" class="k-state-active">
<content>
<div>
- <partial name="_CreateOrUpdate.ProductAttributes.TabAttributes" model="Model" />
+ <partial name="Partials/CreateOrUpdate.ProductAttributes.TabAttributes" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.ProductAttributes.AttributeCombinations"]" tab-index="101">
<content>
<div>
- <partial name="_CreateOrUpdate.ProductAttributes.TabAttributeCombinations" model="Model" />
+ <partial name="Partials/CreateOrUpdate.ProductAttributes.TabAttributeCombinations" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductPrices.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.ProductPrices.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.ProductPrices.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.ProductPrices.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.PurchasedWithOrders.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.PurchasedWithOrders.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.PurchasedWithOrders.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.PurchasedWithOrders.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Recommended.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Recommended.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Recommended.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Recommended.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.RelatedProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.RelatedProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.RelatedProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.RelatedProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Reviews.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Reviews.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.Reviews.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.Reviews.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SEO.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.SEO.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SEO.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.SEO.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SimilarProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.SimilarProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SimilarProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.SimilarProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SpecificationAttributes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.SpecificationAttributes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.SpecificationAttributes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.SpecificationAttributes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.cshtml
similarity index 71%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.cshtml
index abbf7a5ac..48e2c897d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdate.cshtml
@@ -12,102 +12,102 @@
<tabstrip-item text="@Loc["Admin.Catalog.Products.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.Info" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Info" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.Prices"]" tab-index="1" id="tab-price-product">
<content>
<div>
- <partial name="_CreateOrUpdate.Prices" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Prices" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.Additional"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.Additional" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Additional" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.SEO"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.SEO" model="Model" />
+ <partial name="Partials/CreateOrUpdate.SEO" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.Pictures"]" tab-index="4">
<content>
<div>
- <partial name="_CreateOrUpdate.Pictures" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Pictures" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.Mappings"]" tab-index="5">
<content>
<div>
- <partial name="_CreateOrUpdate.Categories" model="Model" />
- <partial name="_CreateOrUpdate.Collections" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Categories" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Collections" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.Inventory"]" tab-index="6" id="tab-inventory-product">
<content>
<div>
- <partial name="_CreateOrUpdate.Inventory" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Inventory" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.SpecificationAttributes"]" tab-index="7">
<content>
<div>
- <partial name="_CreateOrUpdate.SpecificationAttributes" model="Model" />
+ <partial name="Partials/CreateOrUpdate.SpecificationAttributes" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.ProductAttributes"]" tab-index="8" id="tab-attributes-product">
<content>
<div>
- <partial name="_CreateOrUpdate.ProductAttributes" model="Model" />
+ <partial name="Partials/CreateOrUpdate.ProductAttributes" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.BundleProducts"]" tab-index="9" id="tab-bundle-products">
<content>
<div>
- <partial name="_CreateOrUpdate.BundleProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.BundleProducts" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.Calendar"]" tab-index="10" id="tab-calendar">
<content>
<div>
- <partial name="_CreateOrUpdate.Calendar" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Calendar" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.Bids"]" tab-index="11" id="tab-bids">
<content>
<div>
- <partial name="_CreateOrUpdate.Bids" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Bids" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.LinkedProducts"]" tab-index="12">
<content>
<div>
- <partial name="_CreateOrUpdate.RelatedProducts" model="Model" />
- <partial name="_CreateOrUpdate.CrossSells" model="Model" />
- <partial name="_CreateOrUpdate.SimilarProducts" model="Model" />
- <partial name="_CreateOrUpdate.Recommended" model="Model" />
+ <partial name="Partials/CreateOrUpdate.RelatedProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.CrossSells" model="Model" />
+ <partial name="Partials/CreateOrUpdate.SimilarProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Recommended" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.AssociatedProducts"]" tab-index="13" id="tab-associated-products">
<content>
<div>
- <partial name="_CreateOrUpdate.AssociatedProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.AssociatedProducts" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -116,21 +116,21 @@
<tabstrip-item text="@Loc["Admin.Catalog.Products.ActivityLog"]" tab-index="14">
<content>
<div>
- <partial name="_CreateOrUpdate.Activitylog" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Activitylog" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.PurchasedWithOrders"]" tab-index="15" id="tab-purchased-product">
<content>
<div>
- <partial name="_CreateOrUpdate.PurchasedWithOrders" model="Model" />
+ <partial name="Partials/CreateOrUpdate.PurchasedWithOrders" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Products.Reviews"]" tab-index="16">
<content>
<div>
- <partial name="_CreateOrUpdate.Reviews" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Reviews" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -139,7 +139,7 @@
<tabstrip-item text="@Loc["Admin.Catalog.Products.Documents"]" tab-index="17">
<content>
<div>
- <partial name="_CreateOrUpdate.Documents" model="Model" />
+ <partial name="Partials/CreateOrUpdate.Documents" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -147,7 +147,7 @@
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="18">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdateProductAttributeValue.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdateProductAttributeValue.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdateProductAttributeValue.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdateProductAttributeValue.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdateTierPrice.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdateTierPrice.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_CreateOrUpdateTierPrice.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/CreateOrUpdateTierPrice.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_ProductAttributes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/ProductAttributes.cshtml
similarity index 98%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_ProductAttributes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/ProductAttributes.cshtml
index d6120d944..1367088e1 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/_ProductAttributes.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/Partials/ProductAttributes.cshtml
@@ -81,6 +81,7 @@
control-year="@(controlId + "_year")"
begin-year="@(DateTime.Now.Year)"
end-year="@(DateTime.Now.Year+1)"
+ PartialViewName="Partials/DateDropDowns"
class="col-12 input-group" />
}
break;
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductAttributeValueCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductAttributeValueCreatePopup.cshtml
index e41fb1c84..8b548c0b4 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductAttributeValueCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductAttributeValueCreatePopup.cshtml
@@ -20,7 +20,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateProductAttributeValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateProductAttributeValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductAttributeValueEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductAttributeValueEditPopup.cshtml
index 94a68287f..e1f0849fd 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductAttributeValueEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/ProductAttributeValueEditPopup.cshtml
@@ -20,7 +20,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateProductAttributeValue" model="Model" />
+ <partial name="Partials/CreateOrUpdateProductAttributeValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/TierPriceCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/TierPriceCreatePopup.cshtml
index d2f786913..99a1a5031 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/TierPriceCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/TierPriceCreatePopup.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateTierPrice" model="Model" />
+ <partial name="Partials/CreateOrUpdateTierPrice" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/TierPriceEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/TierPriceEditPopup.cshtml
index 15105d9ba..16db91683 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/TierPriceEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Product/TierPriceEditPopup.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateTierPrice" model="Model" />
+ <partial name="Partials/CreateOrUpdateTierPrice" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Create.cshtml
index a2fb75ddb..cce617fb8 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Edit.cshtml
index af300cbee..b4cf34162 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabPredefinedValues.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdate.TabPredefinedValues.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabPredefinedValues.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdate.TabPredefinedValues.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabUsedByProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdate.TabUsedByProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.TabUsedByProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdate.TabUsedByProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdate.cshtml
index 141cdfb43..3f8729a8b 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdate.cshtml
@@ -7,7 +7,7 @@
<tabstrip-item text="@Loc["Admin.Catalog.Attributes.ProductAttributes.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -16,7 +16,7 @@
<tabstrip-item text="@Loc["Admin.Catalog.Attributes.ProductAttributes.UsedByProducts"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabUsedByProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabUsedByProducts" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -24,14 +24,14 @@
<tabstrip-item text="@Loc["Admin.Catalog.Attributes.ProductAttributes.PredefinedValues"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabPredefinedValues" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabPredefinedValues" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="3">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdatePredefinedProductAttributeValue.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdatePredefinedProductAttributeValue.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/_CreateOrUpdatePredefinedProductAttributeValue.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/Partials/CreateOrUpdatePredefinedProductAttributeValue.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/PredefinedProductAttributeValueCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/PredefinedProductAttributeValueCreatePopup.cshtml
index 73911cf94..e304613f0 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/PredefinedProductAttributeValueCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/PredefinedProductAttributeValueCreatePopup.cshtml
@@ -13,7 +13,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdatePredefinedProductAttributeValue" model="Model" />
+ <partial name="Partials/CreateOrUpdatePredefinedProductAttributeValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/PredefinedProductAttributeValueEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/PredefinedProductAttributeValueEditPopup.cshtml
index bd945ad34..a3c5bfcca 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/PredefinedProductAttributeValueEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductAttribute/PredefinedProductAttributeValueEditPopup.cshtml
@@ -14,7 +14,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdatePredefinedProductAttributeValue" model="Model" />
+ <partial name="Partials/CreateOrUpdatePredefinedProductAttributeValue" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductReview/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductReview/Edit.cshtml
index d03c9304e..1459c36b3 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductReview/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductReview/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductReview/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductReview/Partials/CreateOrUpdate.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductReview/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductReview/Partials/CreateOrUpdate.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Edit.cshtml
index 0dbb6ef64..3099cdf5d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Edit.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/_CreateOrUpdate.TabProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Partials/CreateOrUpdate.TabProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/_CreateOrUpdate.TabProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Partials/CreateOrUpdate.TabProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Partials/CreateOrUpdate.cshtml
similarity index 80%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Partials/CreateOrUpdate.cshtml
index 6711082e7..fdf47fc05 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ProductTags/Partials/CreateOrUpdate.cshtml
@@ -10,14 +10,14 @@
<tabstrip-item text="@Loc["Admin.Catalog.ProductTags.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.ProductTags.Products"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabProducts" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/QueuedEmail/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/QueuedEmail/Edit.cshtml
index a756b0844..c63781cd6 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/QueuedEmail/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/QueuedEmail/Edit.cshtml
@@ -25,7 +25,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/QueuedEmail/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/QueuedEmail/Partials/CreateOrUpdate.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/QueuedEmail/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/QueuedEmail/Partials/CreateOrUpdate.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.cshtml
index c4d3aa2bc..aa143fb46 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.cshtml
@@ -23,21 +23,21 @@
<tabstrip-item text="@Loc["Admin.Reports.Customers.BestBy.BestByOrderTotal"]" tab-index="0">
<content>
<div>
- <partial name="Customer.TabBestByOrderTotal" model="Model" />
+ <partial name="Partials/Customer.TabBestByOrderTotal" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Reports.Customers.BestBy.BestByNumberOfOrders"]" tab-index="1">
<content>
<div>
- <partial name="Customer.TabBestByNumberOfOrders" model="Model" />
+ <partial name="Partials/Customer.TabBestByNumberOfOrders" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Reports.Customers.RegisteredCustomers"]" tab-index="2">
<content>
<div>
- <partial name="Customer.TabRegisteredCustomers" model="Model" />
+ <partial name="Partials/Customer.TabRegisteredCustomers" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.TabBestByNumberOfOrders.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/Customer.TabBestByNumberOfOrders.cshtml
similarity index 56%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.TabBestByNumberOfOrders.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/Customer.TabBestByNumberOfOrders.cshtml
index c01a82a64..cc1e394d8 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.TabBestByNumberOfOrders.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/Customer.TabBestByNumberOfOrders.cshtml
@@ -2,5 +2,5 @@
@{
var dataDictAttributes = new ViewDataDictionary(this.ViewData);
dataDictAttributes.TemplateInfo.HtmlFieldPrefix = "bestbynumberoforders";
- <partial name="_ReportBestCustomersByNumberOfOrders" model="Model.BestCustomersByOrderTotal" view-data="dataDictAttributes" />
+ <partial name="Partials/ReportBestCustomersByNumberOfOrders" model="Model.BestCustomersByOrderTotal" view-data="dataDictAttributes" />
}
\ No newline at end of file
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.TabBestByOrderTotal.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/Customer.TabBestByOrderTotal.cshtml
similarity index 56%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.TabBestByOrderTotal.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/Customer.TabBestByOrderTotal.cshtml
index ee3037e9a..a49ff79d9 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.TabBestByOrderTotal.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/Customer.TabBestByOrderTotal.cshtml
@@ -2,5 +2,5 @@
@{
var dataDictAttributes = new ViewDataDictionary(this.ViewData);
dataDictAttributes.TemplateInfo.HtmlFieldPrefix = "bestbyordertotal";
- <partial name="_ReportBestCustomersByOrderTotal" model="Model.BestCustomersByOrderTotal" view-data="dataDictAttributes" />
+ <partial name="Partials/ReportBestCustomersByOrderTotal" model="Model.BestCustomersByOrderTotal" view-data="dataDictAttributes" />
}
\ No newline at end of file
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.TabRegisteredCustomers.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/Customer.TabRegisteredCustomers.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Customer.TabRegisteredCustomers.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/Customer.TabRegisteredCustomers.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/_ReportBestCustomersByNumberOfOrders.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/ReportBestCustomersByNumberOfOrders.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/_ReportBestCustomersByNumberOfOrders.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/ReportBestCustomersByNumberOfOrders.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/_ReportBestCustomersByOrderTotal.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/ReportBestCustomersByOrderTotal.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/_ReportBestCustomersByOrderTotal.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Reports/Partials/ReportBestCustomersByOrderTotal.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.cshtml
index 63cb4e8a9..2179c0baa 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.cshtml
@@ -35,49 +35,49 @@
<tabstrip-item text="@Loc["Admin.Settings.Catalog.General"]" tab-index="0">
<content>
<div>
- <partial name="Catalog.TabGeneralSettings" model="Model" />
+ <partial name="Partials/Catalog.TabGeneralSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Catalog.Performance"]" tab-index="1">
<content>
<div>
- <partial name="Catalog.TabPerformance" model="Model" />
+ <partial name="Partials/Catalog.TabPerformance" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Catalog.ProductReviews"]" tab-index="2">
<content>
<div>
- <partial name="Catalog.TabProductReviews" model="Model" />
+ <partial name="Partials/Catalog.TabProductReviews" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Catalog.Search"]" tab-index="3">
<content>
<div>
- <partial name="Catalog.TabSearchSettings" model="Model" />
+ <partial name="Partials/Catalog.TabSearchSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Catalog.CompareProducts"]" tab-index="4">
<content>
<div>
- <partial name="Catalog.TabCompareProducts" model="Model" />
+ <partial name="Partials/Catalog.TabCompareProducts" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Catalog.Sharing"]" tab-index="5">
<content>
<div>
- <partial name="Catalog.TabSharing" model="Model" />
+ <partial name="Partials/Catalog.TabSharing" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Catalog.SortOptions"]" tab-index="6">
<content>
<div>
- <partial name="Catalog.TabSortOptions" model="Model" />
+ <partial name="Partials/Catalog.TabSortOptions" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.cshtml
index 8466a2d13..7f15780e9 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.cshtml
@@ -36,21 +36,21 @@
<tabstrip-item text="@Loc["Admin.Settings.Content.BlogSettings"]" tab-index="0">
<content>
<div>
- <partial name="Content.TabBlogSettings" model="Model" />
+ <partial name="Partials/Content.TabBlogSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Content.NewsSettings"]" tab-index="1">
<content>
<div>
- <partial name="Content.TabNewsSettings" model="Model" />
+ <partial name="Partials/Content.TabNewsSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Content.KnowledgebaseSettings"]" tab-index="2">
<content>
<div>
- <partial name="Content.TabKnowledgebaseSettings" model="Model" />
+ <partial name="Partials/Content.TabKnowledgebaseSettings" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.cshtml
index 339d88e77..7402d0842 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.cshtml
@@ -34,28 +34,28 @@
<tabstrip-item text="@Loc["Admin.Settings.Customer.CustomerSettings"]" tab-index="0">
<content>
<div>
- <partial name="Customer.TabCustomerSettings" model="Model" />
+ <partial name="Partials/Customer.TabCustomerSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Customer.CustomerSecurity"]" tab-index="1">
<content>
<div>
- <partial name="Customer.TabCustomerSecurity" model="Model" />
+ <partial name="Partials/Customer.TabCustomerSecurity" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Customer.CustomerFormFields"]" tab-index="2">
<content>
<div>
- <partial name="Customer.TabCustomerFormFields" model="Model" />
+ <partial name="Partials/Customer.TabCustomerFormFields" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Customer.AddressFormFields"]" tab-index="3">
<content>
<div>
- <partial name="Customer.TabAddressFormFields" model="Model" />
+ <partial name="Partials/Customer.TabAddressFormFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.cshtml
index ddb65d338..f09d37bb2 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.cshtml
@@ -38,42 +38,42 @@
<tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.StoreInformationSettings"]" tab-index="0">
<content>
<div>
- <partial name="GeneralCommon.TabStoreInformationSettings" model="Model" />
+ <partial name="Partials/GeneralCommon.TabStoreInformationSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.SEOSettings"]" tab-index="1">
<content>
<div>
- <partial name="GeneralCommon.TabSEOSettings" model="Model" />
+ <partial name="Partials/GeneralCommon.TabSEOSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.SecuritySettings"]" tab-index="2">
<content>
<div>
- <partial name="GeneralCommon.TabSecuritySettings" model="Model" />
+ <partial name="Partials/GeneralCommon.TabSecuritySettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.PdfSettings"]" tab-index="3">
<content>
<div>
- <partial name="GeneralCommon.TabPdfSettings" model="Model" />
+ <partial name="Partials/GeneralCommon.TabPdfSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.GoogleAnalytics"]" tab-index="4">
<content>
<div>
- <partial name="GeneralCommon.TabGoogleAnalyticsSettings" model="Model" />
+ <partial name="Partials/GeneralCommon.TabGoogleAnalyticsSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.GeneralCommon.DisplayMenu"]" tab-index="5">
<content>
<div>
- <partial name="GeneralCommon.TabMenuSettings" model="Model" />
+ <partial name="Partials/GeneralCommon.TabMenuSettings" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnActionCreate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnActionCreate.cshtml
index b288aad73..69b17497d 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnActionCreate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnActionCreate.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate.MerchandiseReturnAction" model="Model" />
+ <partial name="Partials/CreateOrUpdate.MerchandiseReturnAction" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnActionEdit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnActionEdit.cshtml
index 2b15ba05d..5a6f03bbf 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnActionEdit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnActionEdit.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate.MerchandiseReturnAction" model="Model" />
+ <partial name="Partials/CreateOrUpdate.MerchandiseReturnAction" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnReasonCreate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnReasonCreate.cshtml
index 65d6c783b..a333aa19e 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnReasonCreate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnReasonCreate.cshtml
@@ -20,7 +20,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate.MerchandiseReturnReason" model="Model" />
+ <partial name="Partials/CreateOrUpdate.MerchandiseReturnReason" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnReasonEdit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnReasonEdit.cshtml
index 2cd142df5..d64fbc37e 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnReasonEdit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/MerchandiseReturnReasonEdit.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate.MerchandiseReturnReason" model="Model" />
+ <partial name="Partials/CreateOrUpdate.MerchandiseReturnReason" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabCompareProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabCompareProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabCompareProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabCompareProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabGeneralSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabGeneralSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabGeneralSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabGeneralSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabPerformance.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabPerformance.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabPerformance.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabPerformance.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabProductReviews.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabProductReviews.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabProductReviews.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabProductReviews.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabSearchSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabSearchSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabSearchSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabSearchSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabSharing.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabSharing.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabSharing.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabSharing.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabSortOptions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabSortOptions.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabSortOptions.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Catalog.TabSortOptions.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.TabBlogSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Content.TabBlogSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.TabBlogSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Content.TabBlogSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.TabKnowledgebaseSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Content.TabKnowledgebaseSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.TabKnowledgebaseSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Content.TabKnowledgebaseSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.TabNewsSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Content.TabNewsSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Content.TabNewsSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Content.TabNewsSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/_CreateOrUpdate.MerchandiseReturnAction.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/CreateOrUpdate.MerchandiseReturnAction.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/_CreateOrUpdate.MerchandiseReturnAction.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/CreateOrUpdate.MerchandiseReturnAction.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/_CreateOrUpdate.MerchandiseReturnReason.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/CreateOrUpdate.MerchandiseReturnReason.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/_CreateOrUpdate.MerchandiseReturnReason.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/CreateOrUpdate.MerchandiseReturnReason.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.TabAddressFormFields.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Customer.TabAddressFormFields.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.TabAddressFormFields.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Customer.TabAddressFormFields.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.TabCustomerFormFields.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Customer.TabCustomerFormFields.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.TabCustomerFormFields.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Customer.TabCustomerFormFields.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.TabCustomerSecurity.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Customer.TabCustomerSecurity.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.TabCustomerSecurity.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Customer.TabCustomerSecurity.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.TabCustomerSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Customer.TabCustomerSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Customer.TabCustomerSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Customer.TabCustomerSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabGoogleAnalyticsSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabGoogleAnalyticsSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabGoogleAnalyticsSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabGoogleAnalyticsSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabMenuSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabMenuSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabMenuSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabMenuSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabPdfSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabPdfSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabPdfSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabPdfSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabSEOSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabSEOSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabSEOSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabSEOSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabSecuritySettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabSecuritySettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabSecuritySettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabSecuritySettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabStoreInformationSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabStoreInformationSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/GeneralCommon.TabStoreInformationSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabStoreInformationSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/_MerchandiseReturnActions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/MerchandiseReturnActions.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/_MerchandiseReturnActions.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/MerchandiseReturnActions.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/_MerchandiseReturnReasons.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/MerchandiseReturnReasons.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/_MerchandiseReturnReasons.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/MerchandiseReturnReasons.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.TabLoyaltyPoints.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Sales.TabLoyaltyPoints.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.TabLoyaltyPoints.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Sales.TabLoyaltyPoints.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.TabMerchandiseReturn.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Sales.TabMerchandiseReturn.cshtml
similarity index 97%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.TabMerchandiseReturn.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Sales.TabMerchandiseReturn.cshtml
index d26c7f14d..1aee946bc 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.TabMerchandiseReturn.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Sales.TabMerchandiseReturn.cshtml
@@ -68,5 +68,5 @@
</div>
</div>
</div>
-<partial name="_MerchandiseReturnReasons" />
-<partial name="_MerchandiseReturnActions" />
+<partial name="Partials/MerchandiseReturnReasons" />
+<partial name="Partials/MerchandiseReturnActions" />
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.TabOrderSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Sales.TabOrderSettings.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.TabOrderSettings.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Sales.TabOrderSettings.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.TabShoppingCart.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Sales.TabShoppingCart.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.TabShoppingCart.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/Sales.TabShoppingCart.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.cshtml
index 1669fb36c..48cfc3622 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Sales.cshtml
@@ -36,28 +36,28 @@
<tabstrip-item text="@Loc["Admin.Settings.Order"]" tab-index="0">
<content>
<div>
- <partial name="Sales.TabOrderSettings" model="Model" />
+ <partial name="Partials/Sales.TabOrderSettings" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.Order.MerchandiseReturnSettings"]" tab-index="1">
<content>
<div>
- <partial name="Sales.TabMerchandiseReturn" model="Model" />
+ <partial name="Partials/Sales.TabMerchandiseReturn" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.ShoppingCart"]" tab-index="2">
<content>
<div>
- <partial name="Sales.TabShoppingCart" model="Model" />
+ <partial name="Partials/Sales.TabShoppingCart" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Settings.LoyaltyPoints"]" tab-index="3">
<content>
<div>
- <partial name="Sales.TabLoyaltyPoints" model="Model" />
+ <partial name="Partials/Sales.TabLoyaltyPoints" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/EditorTemplates/Address.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/EditorTemplates/Address.cshtml
index 3229e64d3..7677b4459 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/EditorTemplates/Address.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/EditorTemplates/Address.cshtml
@@ -216,7 +216,7 @@
}
@if (Model.CustomAddressAttributes.Count > 0)
{
- <partial name="_AddressAttributes" model="Model.CustomAddressAttributes" />
+ <partial name="Partials/AddressAttributes" model="Model.CustomAddressAttributes" />
}
</div>
</div>
\ No newline at end of file
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_AddressAttributes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/AddressAttributes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_AddressAttributes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/AddressAttributes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/DateDropDowns.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/DateDropDowns.cshtml
new file mode 100644
index 000000000..b7efafa31
--- /dev/null
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/DateDropDowns.cshtml
@@ -0,0 +1,4 @@
+@model Grand.Web.Common.Models.DatePickerDropDownsModel
+<select name="@Model.Day" asp-items="@Model.SelectListDay" class="form-control custom-select dateHelper" ></select>
+<select name="@Model.Month" asp-items="@Model.SelectListMonth" class="form-control custom-select dateHelper"></select>
+<select name="@Model.Year" asp-items="@Model.SelectListYear" class="form-control custom-select dateHelper"></select>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Delete.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/Delete.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Delete.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/Delete.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/HeadAdmin.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/HeadAdmin.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/HeadAdmin.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/HeadAdmin.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Menu.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/Menu.cshtml
similarity index 96%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Menu.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/Menu.cshtml
index a8740da19..812c5cdc2 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Menu.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/Menu.cshtml
@@ -44,7 +44,7 @@
}
@foreach (var item in rootNode.ChildNodes.Where(x => x.Visible))
{
- <partial name="_MenuItem" model="item" />
+ <partial name="Partials/MenuItem" model="item" />
}
</ul>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_MenuItem.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/MenuItem.cshtml
similarity index 96%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_MenuItem.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/MenuItem.cshtml
index 2c5ab5a18..a0fefa43f 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_MenuItem.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/MenuItem.cshtml
@@ -49,7 +49,7 @@
</li>
@foreach (var childItem in childNodes)
{
- <partial name="_MenuItem" model="childItem" />
+ <partial name="Partials/MenuItem" model="childItem" />
}
</ul>
}
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Notifications.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/Notifications.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Notifications.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/Notifications.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/PicturePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/PicturePopup.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/PicturePopup.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/PicturePopup.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_UserFields.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/UserFields.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_UserFields.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Partials/UserFields.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_AdminLayout.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_AdminLayout.cshtml
index 300291d01..3b07a6daa 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_AdminLayout.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/_AdminLayout.cshtml
@@ -40,9 +40,9 @@
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<head-custom>
- <partial name="HeadAdmin" />
- <resources asp-type="HeadLink" />
- <resources asp-type="HeadScript" />
+ <partial name="Partials/HeadAdmin" />
+ <resources asp-type="HeadLink" />
+ <resources asp-type="HeadScript" />
</head>
<body class="nav-sm @if (IsSectionDefined("popupwindow")) { @RenderSection("popupwindow") <text>no-sidebar</text> }">
@Html.AntiForgeryToken()
@@ -65,7 +65,7 @@
}
else
{
- <partial name="Menu" />
+ <partial name="Partials/Menu" />
}
<vc:admin-widget widget-zone="admin_header_after" additional-data="null" />
@if (IsSectionDefined("statusbar"))
@@ -265,7 +265,7 @@
}
<div class="right_col" role="main">
- <partial name="Notifications" />
+ <partial name="Partials/Notifications" />
@RenderBody()
</div>
<div class="throbber">
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/_Documents.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/Partials/Documents.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/_Documents.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/Partials/Documents.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/_Info.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/Partials/Info.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/_Info.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/Partials/Info.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/_ShipmentNotes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/Partials/ShipmentNotes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/_ShipmentNotes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/Partials/ShipmentNotes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/ShipmentDetails.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/ShipmentDetails.cshtml
index 7d8138b1e..45ada3582 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/ShipmentDetails.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipment/ShipmentDetails.cshtml
@@ -76,7 +76,7 @@
<tabstrip-item text="@Loc["Admin.Orders.Shipments.ViewDetails.Info"]" tab-index="0">
<content>
<div>
- <partial name="_Info" model="Model" />
+ <partial name="Partials/Info" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -85,7 +85,7 @@
<tabstrip-item text="@Loc["Admin.Orders.Shipments.Documents"]" tab-index="1">
<content>
<div>
- <partial name="_Documents" model="Model" />
+ <partial name="Partials/Documents" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -93,7 +93,7 @@
<tabstrip-item text="@Loc["Admin.Orders.Shipments.ShipmentNotes"]" tab-index="2">
<content>
<div>
- <partial name="_ShipmentNotes" model="Model" />
+ <partial name="Partials/ShipmentNotes" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -104,7 +104,7 @@
<input type="submit" asp-action="EditUserFields" value="@Loc["Admin.Common.Save"]" id="btnSaveUserFields" name="save-generic-attributes" class="k-button" />
</div>
<div class="form-horizontal">
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</div>
</content>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateDeliveryDate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateDeliveryDate.cshtml
index 230a84344..78a6ee2ab 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateDeliveryDate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateDeliveryDate.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateDeliveryDate" model="Model" />
+ <partial name="Partials/CreateOrUpdateDeliveryDate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateMethod.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateMethod.cshtml
index 08bc8d209..933fc6c8a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateMethod.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateMethod.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateMethod" model="Model" />
+ <partial name="Partials/CreateOrUpdateMethod" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreatePickupPoint.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreatePickupPoint.cshtml
index 5ba54f6d2..78252ea15 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreatePickupPoint.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreatePickupPoint.cshtml
@@ -22,7 +22,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdatePickupPoint" model="Model" />
+ <partial name="Partials/CreateOrUpdatePickupPoint" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateWarehouse.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateWarehouse.cshtml
index 4d85e4863..234880632 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateWarehouse.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/CreateWarehouse.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateWarehouse" model="Model" />
+ <partial name="Partials/CreateOrUpdateWarehouse" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditDeliveryDate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditDeliveryDate.cshtml
index 32017e411..d9124fe35 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditDeliveryDate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditDeliveryDate.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateDeliveryDate" model="Model" />
+ <partial name="Partials/CreateOrUpdateDeliveryDate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditMethod.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditMethod.cshtml
index 60ddf83fb..75810a22a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditMethod.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditMethod.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateMethod" model="Model" />
+ <partial name="Partials/CreateOrUpdateMethod" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditPickupPoint.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditPickupPoint.cshtml
index 87abd5f9b..453c8ffbb 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditPickupPoint.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditPickupPoint.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdatePickupPoint" model="Model" />
+ <partial name="Partials/CreateOrUpdatePickupPoint" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditWarehouse.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditWarehouse.cshtml
index 45f0d8899..49a152889 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditWarehouse.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/EditWarehouse.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateWarehouse" model="Model" />
+ <partial name="Partials/CreateOrUpdateWarehouse" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/_CreateOrUpdateDeliveryDate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/CreateOrUpdateDeliveryDate.cshtml
similarity index 97%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/_CreateOrUpdateDeliveryDate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/CreateOrUpdateDeliveryDate.cshtml
index 4d95bc246..7bf48973a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/_CreateOrUpdateDeliveryDate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/CreateOrUpdateDeliveryDate.cshtml
@@ -71,7 +71,7 @@
<content>
<div>
<div class="form-horizontal">
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</div>
</content>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/_CreateOrUpdateMethod.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/CreateOrUpdateMethod.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/_CreateOrUpdateMethod.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/CreateOrUpdateMethod.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/_CreateOrUpdatePickupPoint.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/CreateOrUpdatePickupPoint.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/_CreateOrUpdatePickupPoint.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/CreateOrUpdatePickupPoint.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/_CreateOrUpdateWarehouse.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/CreateOrUpdateWarehouse.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/_CreateOrUpdateWarehouse.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/CreateOrUpdateWarehouse.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Restrictions.TabCountry.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/Restrictions.TabCountry.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Restrictions.TabCountry.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/Restrictions.TabCountry.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Restrictions.TabGroup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/Restrictions.TabGroup.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Restrictions.TabGroup.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Partials/Restrictions.TabGroup.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Restrictions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Restrictions.cshtml
index e1347f2d1..cefc97f71 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Restrictions.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shipping/Restrictions.cshtml
@@ -25,14 +25,14 @@
<tabstrip-item text="@Loc["Admin.Configuration.Shipping.Restrictions.Country"]" tab-index="0">
<content>
<div>
- <partial name="Restrictions.TabCountry" model="Model" />
+ <partial name="Partials/Restrictions.TabCountry" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Configuration.Shipping.Restrictions.Group"]" tab-index="1">
<content>
<div>
- <partial name="Restrictions.TabGroup" model="Model" />
+ <partial name="Partials/Restrictions.TabGroup" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/CurrentCarts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/CurrentCarts.cshtml
index 1761419eb..b3950cc12 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/CurrentCarts.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/CurrentCarts.cshtml
@@ -21,14 +21,14 @@
<tabstrip-item text="@Loc["Admin.CurrentCarts"]" tab-index="0">
<content>
<div>
- <partial name="_CurrentCarts.TabCurrentCarts" model="Model" />
+ <partial name="Partials/CurrentCarts.TabCurrentCarts" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.CurrentWishlists"]" tab-index="1">
<content>
<div>
- <partial name="_CurrentCarts.TabCurrentWishlists" model="Model" />
+ <partial name="Partials/CurrentCarts.TabCurrentWishlists" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/_CurrentCarts.TabCurrentCarts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/Partials/CurrentCarts.TabCurrentCarts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/_CurrentCarts.TabCurrentCarts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/Partials/CurrentCarts.TabCurrentCarts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/_CurrentCarts.TabCurrentWishlists.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/Partials/CurrentCarts.TabCurrentWishlists.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/_CurrentCarts.TabCurrentWishlists.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/ShoppingCart/Partials/CurrentCarts.TabCurrentWishlists.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Create.cshtml
index b31561060..3ffa14977 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Edit.cshtml
index 9923db96b..1da6ab331 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Edit.cshtml
@@ -25,7 +25,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/OptionCreatePopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/OptionCreatePopup.cshtml
index c944beee7..1e76262cb 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/OptionCreatePopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/OptionCreatePopup.cshtml
@@ -18,7 +18,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateOption" model="Model" />
+ <partial name="Partials/CreateOrUpdateOption" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/OptionEditPopup.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/OptionEditPopup.cshtml
index 7c1753606..4b0e1ed17 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/OptionEditPopup.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/OptionEditPopup.cshtml
@@ -19,7 +19,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdateOption" model="Model" />
+ <partial name="Partials/CreateOrUpdateOption" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabOptions.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdate.TabOptions.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabOptions.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdate.TabOptions.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabUsedByProducts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdate.TabUsedByProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.TabUsedByProducts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdate.TabUsedByProducts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdate.cshtml
index f9582131f..98c702947 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdate.cshtml
@@ -7,14 +7,14 @@
<tabstrip-item text="@Loc["Admin.Catalog.Attributes.SpecificationAttributes.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Catalog.Attributes.SpecificationAttributes.Options"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabOptions" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabOptions" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -23,7 +23,7 @@
<tabstrip-item text="@Loc["Admin.Catalog.Attributes.SpecificationAttributes.UsedByProducts"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabUsedByProducts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabUsedByProducts" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -31,7 +31,7 @@
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="2">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdateOption.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdateOption.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/_CreateOrUpdateOption.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/SpecificationAttribute/Partials/CreateOrUpdateOption.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Create.cshtml
index e25ae6067..bff3e8f37 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Edit.cshtml
index bed23fd4e..285c629be 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Edit.cshtml
@@ -24,7 +24,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.TabBankAccount.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Partials/CreateOrUpdate.TabBankAccount.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.TabBankAccount.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Partials/CreateOrUpdate.TabBankAccount.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.TabDomains.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Partials/CreateOrUpdate.TabDomains.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.TabDomains.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Partials/CreateOrUpdate.TabDomains.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Partials/CreateOrUpdate.cshtml
similarity index 83%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Partials/CreateOrUpdate.cshtml
index 94c8ff9c2..de5122db6 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/Partials/CreateOrUpdate.cshtml
@@ -26,21 +26,21 @@
<tabstrip-item text="@Loc["Admin.Stores.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Stores.Domains"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDomains" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDomains" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Stores.BankInfo"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabBankAccount" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabBankAccount" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Create.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Create.cshtml
index f35b7b046..9dff677de 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Create.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Create.cshtml
@@ -23,7 +23,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Edit.cshtml
index 3bbd8f3aa..8e7cb8bcd 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Edit.cshtml
@@ -37,7 +37,7 @@
</div>
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/List.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/List.cshtml
index 1b92d1bd6..765df1c8a 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/List.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/List.cshtml
@@ -1,8 +1,8 @@
@model VendorListModel
@inject AdminAreaSettings adminAreaSettings
@{
-//page title
-ViewBag.Title = Loc["Admin.Vendors"];
+ //page title
+ ViewBag.Title = Loc["Admin.Vendors"];
}
<div class="row">
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabDiscounts.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabDiscounts.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabDiscounts.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabDiscounts.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabDocuments.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabDocuments.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabDocuments.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabDocuments.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabInfo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabInfo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabInfo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabSeo.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabSeo.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabSeo.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabSeo.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabVendorNotes.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabVendorNotes.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabVendorNotes.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabVendorNotes.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabVendorReviews.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabVendorReviews.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.TabVendorReviews.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.TabVendorReviews.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.cshtml
similarity index 77%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.cshtml
index b51dc4216..053d467a6 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/_CreateOrUpdate.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Vendor/Partials/CreateOrUpdate.cshtml
@@ -11,21 +11,21 @@
<tabstrip-item text="@Loc["Admin.Vendors.Info"]" tab-index="0">
<content>
<div>
- <partial name="_CreateOrUpdate.TabInfo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabInfo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Common.SEO"]" tab-index="1">
<content>
<div>
- <partial name="_CreateOrUpdate.TabSeo" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabSeo" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Vendors.Discounts"]" tab-index="2">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDiscounts" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDiscounts" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -34,14 +34,14 @@
<tabstrip-item text="@Loc["Admin.Vendors.VendorNotes"]" tab-index="3">
<content>
<div>
- <partial name="_CreateOrUpdate.TabVendorNotes" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabVendorNotes" model="Model" />
</div>
</content>
</tabstrip-item>
<tabstrip-item text="@Loc["Admin.Vendors.Reviews"]" tab-index="4">
<content>
<div>
- <partial name="_CreateOrUpdate.TabVendorReviews" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabVendorReviews" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -51,7 +51,7 @@
<tabstrip-item text="@Loc["Admin.Vendors.Documents"]" tab-index="5">
<content>
<div>
- <partial name="_CreateOrUpdate.TabDocuments" model="Model" />
+ <partial name="Partials/CreateOrUpdate.TabDocuments" model="Model" />
</div>
</content>
</tabstrip-item>
@@ -59,7 +59,7 @@
<tabstrip-item text="@Loc["Admin.Common.UserFields.Tab"]" tab-index="6">
<content>
<div>
- <partial name="_UserFields" model="Model" />
+ <partial name="Partials/UserFields" model="Model" />
</div>
</content>
</tabstrip-item>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/Edit.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/Edit.cshtml
index c54debda8..f50c6e887 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/Edit.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/Edit.cshtml
@@ -29,7 +29,7 @@
}
</div>
<div class="x_content form">
- <partial name="_CreateOrUpdate" model="Model" />
+ <partial name="Partials/CreateOrUpdate" model="Model" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/List.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/List.cshtml
index b3c99829e..9ec5aa7f5 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/List.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/List.cshtml
@@ -62,7 +62,7 @@
</div>
@if (workContext.CurrentVendor == null)
{
- <partial name="_SearchVendor" model="Model" />
+ <partial name="Partials/SearchVendor" model="Model" />
}
</div>
</div>
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/_CreateOrUpdate.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/Partials/CreateOrUpdate.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/_CreateOrUpdate.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/Partials/CreateOrUpdate.cshtml
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/_SearchVendor.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/Partials/SearchVendor.cshtml
similarity index 100%
rename from src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/_SearchVendor.cshtml
rename to src/Web/Grand.Web.Admin/Areas/Admin/Views/VendorReview/Partials/SearchVendor.cshtml
diff --git a/src/Web/Grand.Web.Admin/Controllers/BlogController.cs b/src/Web/Grand.Web.Admin/Controllers/BlogController.cs
index bf04e24fd..30f8f6361 100644
--- a/src/Web/Grand.Web.Admin/Controllers/BlogController.cs
+++ b/src/Web/Grand.Web.Admin/Controllers/BlogController.cs
@@ -243,7 +243,7 @@ namespace Grand.Web.Admin.Controllers
if (string.IsNullOrEmpty(blogpost.PictureId))
return Content("Picture not exist");
- return View("PicturePopup", await _pictureViewModelService.PreparePictureModel(blogpost.PictureId, blogpost.Id));
+ return View("Partials/PicturePopup", await _pictureViewModelService.PreparePictureModel(blogpost.PictureId, blogpost.Id));
}
[PermissionAuthorizeAction(PermissionActionName.Edit)]
@@ -269,7 +269,7 @@ namespace Grand.Web.Admin.Controllers
Error(ModelState);
- return View("PicturePopup", model);
+ return View("Partials/PicturePopup", model);
}
#endregion
diff --git a/src/Web/Grand.Web.Admin/Controllers/BrandController.cs b/src/Web/Grand.Web.Admin/Controllers/BrandController.cs
index c0b440fae..daf593061 100644
--- a/src/Web/Grand.Web.Admin/Controllers/BrandController.cs
+++ b/src/Web/Grand.Web.Admin/Controllers/BrandController.cs
@@ -297,7 +297,7 @@ namespace Grand.Web.Admin.Controllers
if (!permission.allow)
return Content(permission.message);
- return View("PicturePopup", await _pictureViewModelService.PreparePictureModel(brand.PictureId, brand.Id));
+ return View("Partials/PicturePopup", await _pictureViewModelService.PreparePictureModel(brand.PictureId, brand.Id));
}
[PermissionAuthorizeAction(PermissionActionName.Edit)]
@@ -327,7 +327,7 @@ namespace Grand.Web.Admin.Controllers
Error(ModelState);
- return View("PicturePopup", model);
+ return View("Partials/PicturePopup", model);
}
#endregion
diff --git a/src/Web/Grand.Web.Admin/Controllers/CategoryController.cs b/src/Web/Grand.Web.Admin/Controllers/CategoryController.cs
index 14a519ef1..10efe31cd 100644
--- a/src/Web/Grand.Web.Admin/Controllers/CategoryController.cs
+++ b/src/Web/Grand.Web.Admin/Controllers/CategoryController.cs
@@ -270,7 +270,7 @@ namespace Grand.Web.Admin.Controllers
if (!permission.allow)
return Content(permission.message);
- return View("PicturePopup", await _pictureViewModelService.PreparePictureModel(category.PictureId, category.Id));
+ return View("Partials/PicturePopup", await _pictureViewModelService.PreparePictureModel(category.PictureId, category.Id));
}
[PermissionAuthorizeAction(PermissionActionName.Edit)]
@@ -296,7 +296,7 @@ namespace Grand.Web.Admin.Controllers
Error(ModelState);
- return View("PicturePopup", model);
+ return View("Partials/PicturePopup", model);
}
#endregion
diff --git a/src/Web/Grand.Web.Admin/Controllers/CollectionController.cs b/src/Web/Grand.Web.Admin/Controllers/CollectionController.cs
index 9ead66fb3..7cf1acc2b 100644
--- a/src/Web/Grand.Web.Admin/Controllers/CollectionController.cs
+++ b/src/Web/Grand.Web.Admin/Controllers/CollectionController.cs
@@ -300,7 +300,7 @@ namespace Grand.Web.Admin.Controllers
if (!permission.allow)
return Content(permission.message);
- return View("PicturePopup", await _pictureViewModelService.PreparePictureModel(collection.PictureId, collection.Id));
+ return View("Partials/PicturePopup", await _pictureViewModelService.PreparePictureModel(collection.PictureId, collection.Id));
}
[PermissionAuthorizeAction(PermissionActionName.Edit)]
@@ -330,7 +330,7 @@ namespace Grand.Web.Admin.Controllers
Error(ModelState);
- return View("PicturePopup", model);
+ return View("Partials/PicturePopup", model);
}
#endregion
diff --git a/src/Web/Grand.Web.Common/TagHelpers/Admin/AdminDeleteConfirmationTagHelper.cs b/src/Web/Grand.Web.Common/TagHelpers/Admin/AdminDeleteConfirmationTagHelper.cs
index 6a1b69c0d..350cd5f82 100644
--- a/src/Web/Grand.Web.Common/TagHelpers/Admin/AdminDeleteConfirmationTagHelper.cs
+++ b/src/Web/Grand.Web.Common/TagHelpers/Admin/AdminDeleteConfirmationTagHelper.cs
@@ -57,7 +57,7 @@ namespace Grand.Web.Common.TagHelpers.Admin
output.Attributes.SetAttribute("id", windowId);
output.Attributes.SetAttribute("style", "display:none");
- output.Content.SetHtmlContent((await _htmlHelper.PartialAsync("Delete", deleteConfirmationModel)).ToHtmlString());
+ output.Content.SetHtmlContent((await _htmlHelper.PartialAsync("Partials/Delete", deleteConfirmationModel)).ToHtmlString());
var window = new StringBuilder();
window.AppendLine("<script>");
diff --git a/src/Web/Grand.Web.Common/TagHelpers/DatePickerDropDownsTagHelper.cs b/src/Web/Grand.Web.Common/TagHelpers/DatePickerDropDownsTagHelper.cs
index 7a98e3350..c6647ffce 100644
--- a/src/Web/Grand.Web.Common/TagHelpers/DatePickerDropDownsTagHelper.cs
+++ b/src/Web/Grand.Web.Common/TagHelpers/DatePickerDropDownsTagHelper.cs
@@ -17,6 +17,9 @@ namespace Grand.Web.Common.TagHelpers
[ViewContext]
public ViewContext ViewContext { get; set; }
+ [HtmlAttributeName("PartialViewName")]
+ public string PartialViewName { get; set; }
+
[HtmlAttributeName("Attribute")]
public string Attribute { get; set; }
@@ -99,8 +102,7 @@ namespace Grand.Web.Common.TagHelpers
for (var i = Begin_Year; i >= End_Year; i--)
model.SelectListYear.Add(new SelectListItem() { Value = i.ToString(), Text = i.ToString(), Selected = (SelectedYear == i) });
}
-
- output.Content.SetHtmlContent((await _htmlHelper.PartialAsync("_DatePickerDropDowns", model)).ToHtmlString());
+ output.Content.SetHtmlContent((await _htmlHelper.PartialAsync(PartialViewName, model)).ToHtmlString());
}
}
diff --git a/src/Web/Grand.Web/Controllers/ShoppingCartController.cs b/src/Web/Grand.Web/Controllers/ShoppingCartController.cs
index cb50b0eab..c2c80a3e2 100644
--- a/src/Web/Grand.Web/Controllers/ShoppingCartController.cs
+++ b/src/Web/Grand.Web/Controllers/ShoppingCartController.cs
@@ -714,7 +714,7 @@ namespace Grand.Web.Controllers
ZipPostalCode = zipPostalCode
});
- return PartialView("_EstimateShippingResult", model);
+ return PartialView("Partials/EstimateShippingResult", model);
}
[AutoValidateAntiforgeryToken]
diff --git a/src/Web/Grand.Web/Views/Account/AddressAdd.cshtml b/src/Web/Grand.Web/Views/Account/AddressAdd.cshtml
index 50094a399..034cd3882 100644
--- a/src/Web/Grand.Web/Views/Account/AddressAdd.cshtml
+++ b/src/Web/Grand.Web/Views/Account/AddressAdd.cshtml
@@ -20,7 +20,7 @@
@{
var dataDictAddress = new ViewDataDictionary(ViewData);
dataDictAddress.TemplateInfo.HtmlFieldPrefix = "Address";
- <partial name="_CreateOrUpdateAddress" model="Model.Address" view-data="dataDictAddress" />
+ <partial name="Partials/CreateOrUpdateAddress" model="Model.Address" view-data="dataDictAddress" />
}
<vc:widget widget-zone="customer-address-add-form" additional-data="@Model"></vc:widget>
<div class="buttons generalMarginSupporter mt-1 mb-1">
diff --git a/src/Web/Grand.Web/Views/Account/AddressEdit.cshtml b/src/Web/Grand.Web/Views/Account/AddressEdit.cshtml
index ecdce16df..81f31ef20 100644
--- a/src/Web/Grand.Web/Views/Account/AddressEdit.cshtml
+++ b/src/Web/Grand.Web/Views/Account/AddressEdit.cshtml
@@ -20,7 +20,7 @@
@{
var dataDictAddress = new ViewDataDictionary(ViewData);
dataDictAddress.TemplateInfo.HtmlFieldPrefix = "Address";
- <partial name="_CreateOrUpdateAddress" model="Model.Address" view-data="dataDictAddress" />
+ <partial name="Partials/CreateOrUpdateAddress" model="Model.Address" view-data="dataDictAddress" />
}
<vc:widget widget-zone="customer-address-edit-form" additional-data="@Model"></vc:widget>
<div class="buttons generalMarginSupporter">
diff --git a/src/Web/Grand.Web/Views/Account/Info.cshtml b/src/Web/Grand.Web/Views/Account/Info.cshtml
index 6be48c97a..5d745faaa 100644
--- a/src/Web/Grand.Web/Views/Account/Info.cshtml
+++ b/src/Web/Grand.Web/Views/Account/Info.cshtml
@@ -164,6 +164,7 @@
selected-day="(Model.DateOfBirthDay.HasValue ? Model.DateOfBirthDay.Value : 0)"
selected-month="(Model.DateOfBirthMonth.HasValue ? Model.DateOfBirthMonth.Value : 0)"
selected-year="(Model.DateOfBirthYear.HasValue ? Model.DateOfBirthYear.Value : 0)"
+ PartialViewName="Partials/DatePickerDropDowns"
class="col-12 input-group px-0" />
<span asp-validation-for="DateOfBirthDay"></span>
@@ -200,7 +201,7 @@
</validation-provider>
@if (Model.CheckUsernameAvailabilityEnabled)
{
- <partial name="_CheckUsernameAvailability" />
+ <partial name="Partials/CheckUsernameAvailability" />
}
</div>
</fieldset>
@@ -491,12 +492,12 @@
</label>
<span asp-validation-for="Newsletter"></span>
</div>
- <partial name="_NewsLetterCategories" model="Model.NewsletterCategories" />
+ <partial name="Partials/NewsLetterCategories" model="Model.NewsletterCategories" />
}
@if (Model.CustomerAttributes.Any())
{
- <partial name="_CustomerAttributes" model="Model.CustomerAttributes" />
+ <partial name="Partials/CustomerAttributes" model="Model.CustomerAttributes" />
}
</fieldset>
</div>
diff --git a/src/Web/Grand.Web/Views/Account/_CheckUsernameAvailability.cshtml b/src/Web/Grand.Web/Views/Account/Partials/CheckUsernameAvailability.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Account/_CheckUsernameAvailability.cshtml
rename to src/Web/Grand.Web/Views/Account/Partials/CheckUsernameAvailability.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_CreateOrUpdateSubAccount.cshtml b/src/Web/Grand.Web/Views/Account/Partials/CreateOrUpdateSubAccount.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_CreateOrUpdateSubAccount.cshtml
rename to src/Web/Grand.Web/Views/Account/Partials/CreateOrUpdateSubAccount.cshtml
diff --git a/src/Web/Grand.Web/Views/Account/_CustomerAttributes.cshtml b/src/Web/Grand.Web/Views/Account/Partials/CustomerAttributes.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Account/_CustomerAttributes.cshtml
rename to src/Web/Grand.Web/Views/Account/Partials/CustomerAttributes.cshtml
diff --git a/src/Web/Grand.Web/Views/Account/_NewsLetterCategories.cshtml b/src/Web/Grand.Web/Views/Account/Partials/NewsLetterCategories.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Account/_NewsLetterCategories.cshtml
rename to src/Web/Grand.Web/Views/Account/Partials/NewsLetterCategories.cshtml
diff --git a/src/Web/Grand.Web/Views/Account/Register.cshtml b/src/Web/Grand.Web/Views/Account/Register.cshtml
index 83fda1cd7..7b37686ca 100644
--- a/src/Web/Grand.Web/Views/Account/Register.cshtml
+++ b/src/Web/Grand.Web/Views/Account/Register.cshtml
@@ -149,6 +149,7 @@
selected-day="Model.DateOfBirthDay.HasValue ? Model.DateOfBirthDay.Value : 0"
selected-month="Model.DateOfBirthMonth.HasValue ? Model.DateOfBirthMonth.Value : 0"
selected-year="Model.DateOfBirthYear.HasValue ? Model.DateOfBirthYear.Value : 0"
+ PartialViewName="Partials/DatePickerDropDowns"
class="col-12 input-group px-0" />
</div>
<div class="row">
@@ -184,7 +185,7 @@
</validation-provider>
@if (Model.CheckUsernameAvailabilityEnabled)
{
- <partial name="_CheckUsernameAvailability" />
+ <partial name="Partials/CheckUsernameAvailability" />
}
</div>
</div>
@@ -452,11 +453,11 @@
</label>
<span asp-validation-for="Newsletter"></span>
</div>
- <partial name="_NewsLetterCategories" model="Model.NewsletterCategories" />
+ <partial name="Partials/NewsLetterCategories" model="Model.NewsletterCategories" />
}
@if (Model.CustomerAttributes.Any())
{
- <partial name="_CustomerAttributes" model="Model.CustomerAttributes" />
+ <partial name="Partials/CustomerAttributes" model="Model.CustomerAttributes" />
}
</div>
</div>
diff --git a/src/Web/Grand.Web/Views/Account/SubAccountAdd.cshtml b/src/Web/Grand.Web/Views/Account/SubAccountAdd.cshtml
index 8b01668e8..b0e962995 100644
--- a/src/Web/Grand.Web/Views/Account/SubAccountAdd.cshtml
+++ b/src/Web/Grand.Web/Views/Account/SubAccountAdd.cshtml
@@ -16,7 +16,7 @@
<div class="page account-page subaccount-edit-page pl-lg-3 mb-3 pt-lg-0 pt-3">
<h1 class="generalTitle h2">@Loc["Account.SubAccount.AddNew"]</h1>
<div asp-validation-summary="ModelOnly" class="message-error alert alert-danger my-3"></div>
- <partial name="_CreateOrUpdateSubAccount" model="Model" />
+ <partial name="Partials/CreateOrUpdateSubAccount" model="Model" />
<div class="buttons generalMarginSupporter">
<input type="submit" class="btn btn-info save-subaccount-button" value="@Loc["Common.Save"]" />
</div>
diff --git a/src/Web/Grand.Web/Views/Account/SubAccountEdit.cshtml b/src/Web/Grand.Web/Views/Account/SubAccountEdit.cshtml
index 1883993d1..a8e3675c9 100644
--- a/src/Web/Grand.Web/Views/Account/SubAccountEdit.cshtml
+++ b/src/Web/Grand.Web/Views/Account/SubAccountEdit.cshtml
@@ -16,7 +16,7 @@
<div class="page account-page subaccount-edit-page pl-lg-3 mb-3 pt-lg-0 pt-3">
<h1 class="generalTitle h2">@Loc["Account.SubAccount.Edit"]</h1>
<div asp-validation-summary="ModelOnly" class="message-error alert alert-danger"></div>
- <partial name="_CreateOrUpdateSubAccount" model="Model" />
+ <partial name="Partials/CreateOrUpdateSubAccount" model="Model" />
<div class="buttons generalMarginSupporter">
<input type="submit" class="btn btn-info save-subaccount-button" value="@Loc["Common.Save"]" />
</div>
diff --git a/src/Web/Grand.Web/Views/Catalog/BrandLayout.GridOrLines.cshtml b/src/Web/Grand.Web/Views/Catalog/BrandLayout.GridOrLines.cshtml
index af879553c..4791112d7 100644
--- a/src/Web/Grand.Web/Views/Catalog/BrandLayout.GridOrLines.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/BrandLayout.GridOrLines.cshtml
@@ -33,14 +33,14 @@
@await Component.InvokeAsync("Widget", new { widgetZone = "branddetails_after_featured_products", additionalData = Model.Id })
<div id="catalog-products">
@await Component.InvokeAsync("Widget", new { widgetZone = "branddetails_before_filters", additionalData = Model.Id })
- <partial name="_Selectors" />
+ <partial name="Partials/Selectors" />
<template v-if="catalog.Model.Products.length > 0">
<template v-if="catalog.Model.PagingFilteringContext.ViewMode == 'grid'">
<div class="col-12 product-grid px-0">
<div class="row">
<template v-for="Model in catalog.Model.Products">
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" />
+ <partial name="Partials/CatalogProductGridView" />
</div>
</template>
</div>
@@ -51,13 +51,13 @@
<div class="col-12">
<div class="row">
<template v-for="Model in catalog.Model.Products">
- <partial name="_CatalogProductListView" />
+ <partial name="Partials/CatalogProductListView" />
</template>
</div>
</div>
</div>
</template>
- <partial name="_Pagination" />
+ <partial name="Partials/Pagination" />
</template>
<template v-else>
<div class="alert alerty-info my-3">
@@ -80,11 +80,11 @@
</div>
@section filters
- {
+{
@*Rendering filtering section*@
@if (Model.PagingFilteringContext.SpecificationFilter.Enabled)
{
- <partial name="_Filtering" />
+ <partial name="Partials/Filtering" />
}
}
-<partial name="_ModelScript" model="@Json.Serialize(Model)" />
\ No newline at end of file
+<partial name="Partials/ModelScript" model="@Json.Serialize(Model)" />
\ No newline at end of file
diff --git a/src/Web/Grand.Web/Views/Catalog/CategoryLayout.GridOrLines.cshtml b/src/Web/Grand.Web/Views/Catalog/CategoryLayout.GridOrLines.cshtml
index 83f303b57..8c61d569e 100644
--- a/src/Web/Grand.Web/Views/Catalog/CategoryLayout.GridOrLines.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/CategoryLayout.GridOrLines.cshtml
@@ -117,7 +117,7 @@
<div class="form-row">
<template v-for="Model in catalog.Model.FeaturedProducts">
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" />
+ <partial name="Partials/CatalogProductGridView" />
</div>
</template>
</div>
@@ -127,14 +127,14 @@
<div id="catalog-products">
@await Component.InvokeAsync("Widget", new { widgetZone = "categorydetails_before_filters", additionalData = Model.Id })
<template v-if="catalog.Model !== undefined">
- <partial name="_Selectors" />
+ <partial name="Partials/Selectors" />
<template v-if="catalog.Model.Products.length > 0">
<template v-if="catalog.Model.PagingFilteringContext.ViewMode == 'grid'">
<div class="col-12 product-grid px-0">
<div class="form-row">
<template v-for="Model in catalog.Model.Products">
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" />
+ <partial name="Partials/CatalogProductGridView" />
</div>
</template>
</div>
@@ -145,13 +145,13 @@
<div class="col-12">
<div class="row">
<template v-for="Model in catalog.Model.Products">
- <partial name="_CatalogProductListView" />
+ <partial name="Partials/CatalogProductListView" />
</template>
</div>
</div>
</div>
</template>
- <partial name="_Pagination" />
+ <partial name="Partials/Pagination" />
</template>
<template v-else>
<div class="alert alert-info my-3">
@@ -176,12 +176,11 @@
</div>
@section filters
- {
+{
@*Rendering filtering section*@
@if (Model.PagingFilteringContext.SpecificationFilter.Enabled)
{
- <partial name="_Filtering" />
+ <partial name="Partials/Filtering" />
}
}
-
-<partial name="_ModelScript" model="@Json.Serialize(Model)" />
+<partial name="Partials/ModelScript" model="@Json.Serialize(Model)" />
diff --git a/src/Web/Grand.Web/Views/Catalog/CollectionLayout.GridOrLines.cshtml b/src/Web/Grand.Web/Views/Catalog/CollectionLayout.GridOrLines.cshtml
index 016181a4c..eeccf244f 100644
--- a/src/Web/Grand.Web/Views/Catalog/CollectionLayout.GridOrLines.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/CollectionLayout.GridOrLines.cshtml
@@ -39,7 +39,7 @@
<div class="form-row">
<template v-for="Model in catalog.Model.FeaturedProducts">
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" />
+ <partial name="Partials/CatalogProductGridView" />
</div>
</template>
</div>
@@ -48,14 +48,14 @@
@await Component.InvokeAsync("Widget", new { widgetZone = "collectiondetails_after_featured_products", additionalData = Model.Id })
<div id="catalog-products">
@await Component.InvokeAsync("Widget", new { widgetZone = "collectiondetails_before_filters", additionalData = Model.Id })
- <partial name="_Selectors" />
+ <partial name="Partials/Selectors" />
<template v-if="catalog.Model.Products.length > 0">
<template v-if="catalog.Model.PagingFilteringContext.ViewMode == 'grid'">
<div class="col-12 product-grid px-0">
<div class="form-row">
<template v-for="Model in catalog.Model.Products">
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" />
+ <partial name="Partials/CatalogProductGridView" />
</div>
</template>
</div>
@@ -66,13 +66,13 @@
<div class="col-12">
<div class="row">
<template v-for="Model in catalog.Model.Products">
- <partial name="_CatalogProductListView" />
+ <partial name="Partials/CatalogProductListView" />
</template>
</div>
</div>
</div>
</template>
- <partial name="_Pagination" />
+ <partial name="Partials/Pagination" />
</template>
<template v-else>
<div class="alert alert-info my-3">
@@ -99,8 +99,8 @@
@*Rendering filtering section*@
@if (Model.PagingFilteringContext.SpecificationFilter.Enabled)
{
- <partial name="_Filtering"/>
+ <partial name="Partials/Filtering"/>
}
}
-<partial name="_ModelScript" model="@Json.Serialize(Model)" />
\ No newline at end of file
+<partial name="Partials/ModelScript" model="@Json.Serialize(Model)" />
\ No newline at end of file
diff --git a/src/Web/Grand.Web/Views/Catalog/Components/VendorReviews/Default.cshtml b/src/Web/Grand.Web/Views/Catalog/Components/VendorReviews/Default.cshtml
index a2c5e96ea..23ab24396 100644
--- a/src/Web/Grand.Web/Views/Catalog/Components/VendorReviews/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/Components/VendorReviews/Default.cshtml
@@ -13,7 +13,7 @@ else
<a class="btn btn-info" @@click="vendorreviews.addVendorReview()">@Loc["Reviews.Overview.AddNew"]</a>
</div>
}
-<partial name="_VendorReview.Modal.cshtml" model="Model" />
+<partial name="Partials/VendorReview.Modal.cshtml" model="Model" />
<template id="vendor-review-list">
<div class="vendor-review-list">
diff --git a/src/Web/Grand.Web/Views/Catalog/Components/VendorReviews/_VendorReview.Modal.cshtml b/src/Web/Grand.Web/Views/Catalog/Components/VendorReviews/Partials/VendorReview.Modal.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Catalog/Components/VendorReviews/_VendorReview.Modal.cshtml
rename to src/Web/Grand.Web/Views/Catalog/Components/VendorReviews/Partials/VendorReview.Modal.cshtml
diff --git a/src/Web/Grand.Web/Views/Catalog/_CatalogProductView.cshtml b/src/Web/Grand.Web/Views/Catalog/Partials/CatalogProductGridView.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Catalog/_CatalogProductView.cshtml
rename to src/Web/Grand.Web/Views/Catalog/Partials/CatalogProductGridView.cshtml
diff --git a/src/Web/Grand.Web/Views/Catalog/_CatalogProductListView.cshtml b/src/Web/Grand.Web/Views/Catalog/Partials/CatalogProductListView.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Catalog/_CatalogProductListView.cshtml
rename to src/Web/Grand.Web/Views/Catalog/Partials/CatalogProductListView.cshtml
diff --git a/src/Web/Grand.Web/Views/Catalog/_Filtering.cshtml b/src/Web/Grand.Web/Views/Catalog/Partials/Filtering.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Catalog/_Filtering.cshtml
rename to src/Web/Grand.Web/Views/Catalog/Partials/Filtering.cshtml
diff --git a/src/Web/Grand.Web/Views/Catalog/_ModelScript.cshtml b/src/Web/Grand.Web/Views/Catalog/Partials/ModelScript.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Catalog/_ModelScript.cshtml
rename to src/Web/Grand.Web/Views/Catalog/Partials/ModelScript.cshtml
diff --git a/src/Web/Grand.Web/Views/Catalog/_Pagination.cshtml b/src/Web/Grand.Web/Views/Catalog/Partials/Pagination.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Catalog/_Pagination.cshtml
rename to src/Web/Grand.Web/Views/Catalog/Partials/Pagination.cshtml
diff --git a/src/Web/Grand.Web/Views/Catalog/_Selectors.cshtml b/src/Web/Grand.Web/Views/Catalog/Partials/Selectors.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Catalog/_Selectors.cshtml
rename to src/Web/Grand.Web/Views/Catalog/Partials/Selectors.cshtml
diff --git a/src/Web/Grand.Web/Views/Catalog/_VendorReviewOverview.cshtml b/src/Web/Grand.Web/Views/Catalog/Partials/VendorReviewOverview.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Catalog/_VendorReviewOverview.cshtml
rename to src/Web/Grand.Web/Views/Catalog/Partials/VendorReviewOverview.cshtml
diff --git a/src/Web/Grand.Web/Views/Catalog/ProductsByTag.cshtml b/src/Web/Grand.Web/Views/Catalog/ProductsByTag.cshtml
index 57f48c497..da9b52f61 100644
--- a/src/Web/Grand.Web/Views/Catalog/ProductsByTag.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/ProductsByTag.cshtml
@@ -19,14 +19,14 @@
<h1 class="generalTitle h2">@String.Format(Loc["Products.Tags.ProductsTaggedWith"], Model.TagName)</h1>
@await Component.InvokeAsync("Widget", new { widgetZone = "productsbytag_top", additionalData = Model.Id })
<div id="catalog-products">
- <partial name="_Selectors" />
+ <partial name="Partials/Selectors" />
<template v-if="catalog.Model.Products.length > 0">
<template v-if="catalog.Model.PagingFilteringContext.ViewMode == 'grid'">
<div class="col-12 product-grid px-0">
<div class="form-row">
<template v-for="Model in catalog.Model.Products">
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" />
+ <partial name="Partials/CatalogProductGridView" />
</div>
</template>
</div>
@@ -37,13 +37,13 @@
<div class="col-12">
<div class="row">
<template v-for="Model in catalog.Model.Products">
- <partial name="_CatalogProductListView" />
+ <partial name="Partials/CatalogProductListView" />
</template>
</div>
</div>
</div>
</template>
- <partial name="_Pagination" />
+ <partial name="Partials/Pagination" />
</template>
<template v-else>
<div class="alert alert-info my-3">
@@ -54,4 +54,4 @@
</div>
@await Component.InvokeAsync("Widget", new { widgetZone = "productsbytag_bottom", additionalData = Model.Id })
-<partial name="_ModelScript" model="@Json.Serialize(Model)" />
+<partial name="Partials/ModelScript" model="@Json.Serialize(Model)" />
diff --git a/src/Web/Grand.Web/Views/Catalog/Search.cshtml b/src/Web/Grand.Web/Views/Catalog/Search.cshtml
index f288ce9e5..6580a6fcb 100644
--- a/src/Web/Grand.Web/Views/Catalog/Search.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/Search.cshtml
@@ -107,14 +107,14 @@
<div class="search-results">
<div id="catalog-products">
@await Component.InvokeAsync("Widget", new { widgetZone = "productsearch_page_before_results" })
- <partial name="_Selectors" />
+ <partial name="Partials/Selectors" />
<template v-if="catalog.Model.Products.length > 0">
<template v-if="catalog.Model.PagingFilteringContext.ViewMode == 'grid'">
<div class="col-12 product-grid px-0">
<div class="form-row">
<template v-for="Model in catalog.Model.Products">
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" />
+ <partial name="Partials/CatalogProductGridView" />
</div>
</template>
</div>
@@ -125,13 +125,13 @@
<div class="col-12">
<div class="row">
<template v-for="Model in catalog.Model.Products">
- <partial name="_CatalogProductListView" />
+ <partial name="Partials/CatalogProductListView" />
</template>
</div>
</div>
</div>
</template>
- <partial name="_Pagination" />
+ <partial name="Partials/Pagination" />
</template>
</div>
@if (!String.IsNullOrEmpty(Model.Warning))
@@ -155,7 +155,7 @@
@*Rendering filtering section*@
@if (Model.PagingFilteringContext.SpecificationFilter.Enabled)
{
- <partial name="_Filtering" model="Model.PagingFilteringContext.SpecificationFilter" />
+ <partial name="Partials/Filtering" model="Model.PagingFilteringContext.SpecificationFilter" />
}
}
-<partial name="_ModelScript" model="@Json.Serialize(Model)" />
\ No newline at end of file
+<partial name="Partials/ModelScript" model="@Json.Serialize(Model)" />
\ No newline at end of file
diff --git a/src/Web/Grand.Web/Views/Catalog/Vendor.cshtml b/src/Web/Grand.Web/Views/Catalog/Vendor.cshtml
index 5eb6d7e12..6b23259c9 100644
--- a/src/Web/Grand.Web/Views/Catalog/Vendor.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/Vendor.cshtml
@@ -32,7 +32,7 @@
@if (Model.VendorReviewOverview.AllowCustomerReviews)
{
<div>
- <partial name="_VendorReviewOverview" model="Model.VendorReviewOverview" />
+ <partial name="Partials/VendorReviewOverview" model="Model.VendorReviewOverview" />
</div>
}
</div>
@@ -148,14 +148,14 @@
</div>
<div id="catalog-products">
@await Component.InvokeAsync("Widget", new { widgetZone = "productsearch_page_before_results" })
- <partial name="_Selectors" />
+ <partial name="Partials/Selectors" />
<template v-if="catalog.Model.Products.length > 0">
<template v-if="catalog.Model.PagingFilteringContext.ViewMode == 'grid'">
<div class="col-12 product-grid px-0">
<div class="form-row">
<template v-for="Model in catalog.Model.Products">
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" />
+ <partial name="Partials/CatalogProductGridView" />
</div>
</template>
</div>
@@ -166,13 +166,13 @@
<div class="col-12">
<div class="row">
<template v-for="Model in catalog.Model.Products">
- <partial name="_CatalogProductListView" />
+ <partial name="Partials/CatalogProductListView" />
</template>
</div>
</div>
</div>
</template>
- <partial name="_Pagination" />
+ <partial name="Partials/Pagination" />
</template>
<template v-else>
<div class="alert alert-info my-3">
@@ -196,8 +196,7 @@
@*Rendering filtering*@
@if (Model.PagingFilteringContext.SpecificationFilter.Enabled)
{
- <partial name="_Filtering" model="Model.PagingFilteringContext.SpecificationFilter" />
+ <partial name="Partials/Filtering" model="Model.PagingFilteringContext.SpecificationFilter" />
}
}
-
-<partial name="_ModelScript" model="@Json.Serialize(Model)" />
\ No newline at end of file
+<partial name="Partials/ModelScript" model="@Json.Serialize(Model)" />
\ No newline at end of file
diff --git a/src/Web/Grand.Web/Views/Catalog/_VendorReviewHelpfulness.cshtml b/src/Web/Grand.Web/Views/Catalog/_VendorReviewHelpfulness.cshtml
deleted file mode 100644
index 8eb794b7e..000000000
--- a/src/Web/Grand.Web/Views/Catalog/_VendorReviewHelpfulness.cshtml
+++ /dev/null
@@ -1,52 +0,0 @@
-@model VendorReviewHelpfulnessModel
-<div class="vendor-review-helpfulness d-inline-flex justify-content-end align-items-center">
- <span class="question">@Loc["Reviews.Helpfulness.WasHelpful?"]</span>
- <span class="vote-options btn-group">
- <span id="vote-yes-@(Model.VendorReviewId)" class="btn btn-sm btn-outline vote"><b-icon variant="success" icon="hand-thumbs-up"></b-icon></span>
- <span id="vote-no-@(Model.VendorReviewId)" class="btn btn-sm btn-outline vote"><b-icon variant="danger" icon="hand-thumbs-down"></b-icon></span>
- </span>
- <span class="vote-stats">
- (<span id="helpfulness-vote-yes-@(Model.VendorReviewId)">@(Model.HelpfulYesTotal)</span>/<span id="helpfulness-vote-no-@(Model.VendorReviewId)">@(Model.HelpfulNoTotal)</span>)
- </span>
-
- <script asp-location="Footer" asp-order="300">
- document.addEventListener("DOMContentLoaded", function () {
- document.getElementById('vote-yes-@(Model.VendorReviewId)').addEventListener("click", function (e) {
- setProductReviewHelpfulness@(Model.VendorReviewId)('true');
- });
- document.getElementById('vote-no-@(Model.VendorReviewId)').addEventListener("click", function (e) {
- setProductReviewHelpfulness@(Model.VendorReviewId)('false');
- });
- });
-
- function setProductReviewHelpfulness@(Model.VendorReviewId)(wasHelpful) {
- axios({
- url: '@(Url.RouteUrl("SetVendorReviewHelpfulness"))',
- method: 'post',
- params: { "vendorReviewId": '@(Model.VendorReviewId)', "vendorId": '@(Model.VendorReviewId)' ,"washelpful": wasHelpful }
- })
- .then(function (response) {
- document.getElementById("helpfulness-vote-yes-@(Model.VendorReviewId)").innerHTML = response.data.TotalYes
- document.getElementById("helpfulness-vote-no-@(Model.VendorReviewId)").innerHTML = response.data.TotalNo;
- new Vue({
- el: ".modal-place",
- methods: {
- toast() {
- this.$bvToast.toast(response.data.Result, {
- title: '@Loc["Reviews.Helpfulness.WasHelpful?"]',
- variant: 'info',
- autoHideDelay: 3000,
- solid: true
- })
- }
- },
- mounted: function () {
- this.toast();
- }
- });
- }).catch(function (error) {
- alert(error);
- })
- }
- </script>
-</div>
\ No newline at end of file
diff --git a/src/Web/Grand.Web/Views/Checkout/_BillingAddress.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/BillingAddress.cshtml
similarity index 95%
rename from src/Web/Grand.Web/Views/Checkout/_BillingAddress.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/BillingAddress.cshtml
index 9e0c6930c..ccd75aecf 100644
--- a/src/Web/Grand.Web/Views/Checkout/_BillingAddress.cshtml
+++ b/src/Web/Grand.Web/Views/Checkout/Partials/BillingAddress.cshtml
@@ -37,7 +37,7 @@
@{
var dataDictAddress = new ViewDataDictionary(ViewData);
dataDictAddress.TemplateInfo.HtmlFieldPrefix = "BillingNewAddress";
- <partial name="_CreateOrUpdateAddress" model="Model.BillingAddress.NewAddress" view-data="dataDictAddress" />
+ <partial name="Partials/CreateOrUpdateAddress" model="Model.BillingAddress.NewAddress" view-data="dataDictAddress" />
}
</div>
<template v-if="vmorder.billingAddressErrors !== null">
diff --git a/src/Web/Grand.Web/Views/Checkout/_BillingWithoutShipping.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/BillingWithoutShipping.cshtml
similarity index 96%
rename from src/Web/Grand.Web/Views/Checkout/_BillingWithoutShipping.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/BillingWithoutShipping.cshtml
index ddc7b0f56..22db1f09a 100644
--- a/src/Web/Grand.Web/Views/Checkout/_BillingWithoutShipping.cshtml
+++ b/src/Web/Grand.Web/Views/Checkout/Partials/BillingWithoutShipping.cshtml
@@ -48,7 +48,7 @@
@{
var dataDictAddress = new ViewDataDictionary(ViewData);
dataDictAddress.TemplateInfo.HtmlFieldPrefix = "BillingNewAddress";
- <partial name="_CreateOrUpdateAddress" model="Model.NewAddress" view-data="dataDictAddress" />
+ <partial name="Partials/CreateOrUpdateAddress" model="Model.NewAddress" view-data="dataDictAddress" />
}
<div asp-validation-summary="ModelOnly" class="message-error"></div>
<template v-if="vmorder.billingAddressErrors !== null">
diff --git a/src/Web/Grand.Web/Views/Checkout/_ConfirmOrder.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/ConfirmOrder.cshtml
similarity index 97%
rename from src/Web/Grand.Web/Views/Checkout/_ConfirmOrder.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/ConfirmOrder.cshtml
index 0959f3fd6..7ab5065ea 100644
--- a/src/Web/Grand.Web/Views/Checkout/_ConfirmOrder.cshtml
+++ b/src/Web/Grand.Web/Views/Checkout/Partials/ConfirmOrder.cshtml
@@ -1,7 +1,7 @@
<div v-if="vmorder.Confirm" class="checkout-data order-summary-content col-12 px-0">
@await Component.InvokeAsync("Widget", new { widgetZone = "checkout_confirm_top" })
<div class="order-summary mb-3">
- <partial name="_ReviewData" model="null" />
+ <partial name="Partials/ReviewData" model="null" />
</div>
<div class="confirm-order">
<div v-if="vmorder.MinOrderTotalWarning !== null">
diff --git a/src/Web/Grand.Web/Views/Checkout/_PaymentInfo.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/PaymentInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Checkout/_PaymentInfo.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/PaymentInfo.cshtml
diff --git a/src/Web/Grand.Web/Views/Checkout/_PaymentMethods.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/PaymentMethods.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Checkout/_PaymentMethods.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/PaymentMethods.cshtml
diff --git a/src/Web/Grand.Web/Views/Checkout/_ReviewData.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/ReviewData.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Checkout/_ReviewData.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/ReviewData.cshtml
diff --git a/src/Web/Grand.Web/Views/Checkout/_ShippingAddress.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/ShippingAddress.cshtml
similarity index 95%
rename from src/Web/Grand.Web/Views/Checkout/_ShippingAddress.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/ShippingAddress.cshtml
index dd034b1e7..8cc354afd 100644
--- a/src/Web/Grand.Web/Views/Checkout/_ShippingAddress.cshtml
+++ b/src/Web/Grand.Web/Views/Checkout/Partials/ShippingAddress.cshtml
@@ -14,7 +14,7 @@
</div>
}
- <partial name="_ShippingAddressPickupInStore" model="Model" />
+ <partial name="Partials/ShippingAddressPickupInStore" model="Model" />
<div v-show="vmorder.shippingContainer">
@if (Model.ExistingAddresses.Any())
{
@@ -63,7 +63,7 @@
@{
var dataDictAddress = new ViewDataDictionary(ViewData);
dataDictAddress.TemplateInfo.HtmlFieldPrefix = "ShippingNewAddress";
- <partial name="_CreateOrUpdateAddress" model="Model.NewAddress" view-data="dataDictAddress" />
+ <partial name="Partials/CreateOrUpdateAddress" model="Model.NewAddress" view-data="dataDictAddress" />
}
<div asp-validation-summary="ModelOnly" class="message-error"></div>
<template v-if="vmorder.shippingAddressErrors !== null">
diff --git a/src/Web/Grand.Web/Views/Checkout/_ShippingAddressPickupInStore.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/ShippingAddressPickupInStore.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Checkout/_ShippingAddressPickupInStore.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/ShippingAddressPickupInStore.cshtml
diff --git a/src/Web/Grand.Web/Views/Checkout/_ShippingMethods.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/ShippingMethods.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Checkout/_ShippingMethods.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/ShippingMethods.cshtml
diff --git a/src/Web/Grand.Web/Views/Checkout/_Summary.cshtml b/src/Web/Grand.Web/Views/Checkout/Partials/Summary.cshtml
similarity index 98%
rename from src/Web/Grand.Web/Views/Checkout/_Summary.cshtml
rename to src/Web/Grand.Web/Views/Checkout/Partials/Summary.cshtml
index 55728772a..6e12d366f 100644
--- a/src/Web/Grand.Web/Views/Checkout/_Summary.cshtml
+++ b/src/Web/Grand.Web/Views/Checkout/Partials/Summary.cshtml
@@ -6,7 +6,7 @@
@await Component.InvokeAsync("Widget", new { widgetZone = "checkout_summary_content_before" })
<div v-if="typeof vmorder.cart.Items !== 'undefined' && vmorder.cart.Items.length > 0">
<template v-if="vmorder.OrderReviewData && vmorder.Confirm">
- <partial name="_ReviewData" />
+ <partial name="Partials/ReviewData" />
</template>
<ul v-if="typeof vmorder.cart.Warnings !== 'undefined' && vmorder.cart.Warnings.length > 0" class="px-0 mb-3">
<li v-for="item in vmorder.cart.Warnings">
@@ -116,7 +116,7 @@
</div>
<div class="col-lg-4 col-12 totals">
<div class="totals-inner">
- <partial name="OrderTotals" />
+ <partial name="Partials/OrderTotals" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web/Views/Checkout/Start.cshtml b/src/Web/Grand.Web/Views/Checkout/Start.cshtml
index ee941a9b1..ad826147c 100644
--- a/src/Web/Grand.Web/Views/Checkout/Start.cshtml
+++ b/src/Web/Grand.Web/Views/Checkout/Start.cshtml
@@ -77,7 +77,7 @@
<validation-observer v-slot="{ handleSubmit }">
<form action="" id="co-shipping-form" v-on:submit.prevent="handleSubmit(vmorder.formCheckoutSubmit)">
<div id="checkout-shipping-load">
- <partial name="_ShippingAddress" model="Model.ShippingAddress" />
+ <partial name="Partials/ShippingAddress" model="Model.ShippingAddress" />
</div>
<input type="submit" ref="shippingSubmit" id="opc-shipping-submit" class="d-none" />
</form>
@@ -97,11 +97,11 @@
<div id="checkout-billing-load">
@if (Model.ShippingRequired)
{
- <partial name="_BillingAddress" model="Model" />
+ <partial name="Partials/BillingAddress" model="Model" />
}
else
{
- <partial name="_BillingWithoutShipping" model="Model.BillingAddress" />
+ <partial name="Partials/BillingWithoutShipping" model="Model.BillingAddress" />
}
</div>
<input type="submit" ref="billingSubmit" id="opc-billing-submit" class="d-none" />
@@ -126,7 +126,7 @@
<form id="co-shipping-method-form" action="">
<div id="checkout-shipping-method-load">
@*In that field all available shipping methods will be loaded*@
- <partial name="_ShippingMethods" model="Model" />
+ <partial name="Partials/ShippingMethods" model="Model" />
</div>
<div class="col-12 buttons py-1 px-0 mt-3" id="shipping-method-buttons-container">
<a class="btn btn-secondary" href="#" id="back-shipping_method" @@click="vmorder.backStep(vmorder.previousStep)">@Loc["Common.Back"]</a>
@@ -145,7 +145,7 @@
<form action="" id="co-payment-method-form">
<div id="checkout-payment-method-load">
@*In that field all available payment methods will be loaded*@
- <partial name="_PaymentMethods" model="Model" />
+ <partial name="Partials/PaymentMethods" model="Model" />
</div>
</form>
<div class="col-12 buttons py-1 mt-3 px-0" id="payment-method-buttons-container">
@@ -165,7 +165,7 @@
<form action="" id="co-payment-info-form">
<div id="checkout-payment-info-load">
@*In that field payment info section will be loaded*@
- <partial name="_PaymentInfo" />
+ <partial name="Partials/PaymentInfo" />
</div>
</form>
<div class="col-12 buttons py-1 mt-3 px-0" id="payment-info-buttons-container">
@@ -183,7 +183,7 @@
<b-collapse id="opc-confirm-order" accordion="my-accordion" role="tabpanel" appear>
<div class="card-body">
<div id="checkout-confirm-order-load">
- <partial name="_ConfirmOrder" />
+ <partial name="Partials/ConfirmOrder" />
</div>
<div id="confirm-order-buttons-container">
<a class="btn btn-secondary sr-only" href="#" id="back-confirm_order" @@click="vmorder.backStep(vmorder.previousStep)">@Loc["Common.Back"]</a>
@@ -197,7 +197,7 @@
</div>
<div class="col-xl-5 col-12">
<div class="opc-totals">
- <partial name="_Summary" />
+ <partial name="Partials/Summary" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web/Views/Common/ContactUs.cshtml b/src/Web/Grand.Web/Views/Common/ContactUs.cshtml
index dbf413990..318b4007c 100644
--- a/src/Web/Grand.Web/Views/Common/ContactUs.cshtml
+++ b/src/Web/Grand.Web/Views/Common/ContactUs.cshtml
@@ -63,7 +63,7 @@
</validation-provider>
</div>
</div>
- <partial name="_ContactAttributes" model="Model.ContactAttributes" />
+ <partial name="Partials/ContactAttributes" model="Model.ContactAttributes" />
@if (Model.DisplayCaptcha)
{
<div class="captcha-box">
diff --git a/src/Web/Grand.Web/Views/Common/_ContactAttributes.cshtml b/src/Web/Grand.Web/Views/Common/Partials/ContactAttributes.cshtml
similarity index 99%
rename from src/Web/Grand.Web/Views/Common/_ContactAttributes.cshtml
rename to src/Web/Grand.Web/Views/Common/Partials/ContactAttributes.cshtml
index ab14f4d6a..7d8067586 100644
--- a/src/Web/Grand.Web/Views/Common/_ContactAttributes.cshtml
+++ b/src/Web/Grand.Web/Views/Common/Partials/ContactAttributes.cshtml
@@ -106,6 +106,7 @@
selected-day="(attribute.SelectedDay.HasValue ? attribute.SelectedDay.Value : 0)"
selected-month="(attribute.SelectedMonth.HasValue ? attribute.SelectedMonth.Value : 0)"
selected-year="(attribute.SelectedYear.HasValue ? attribute.SelectedYear.Value : 0)"
+ PartialViewName="Partials/DatePickerDropDowns"
class="input-group" />
}
break;
diff --git a/src/Web/Grand.Web/Views/Knowledgebase/Components/KnowledgebaseCategories/Default.cshtml b/src/Web/Grand.Web/Views/Knowledgebase/Components/KnowledgebaseCategories/Default.cshtml
index b54ddb74d..98a4b25e7 100644
--- a/src/Web/Grand.Web/Views/Knowledgebase/Components/KnowledgebaseCategories/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Knowledgebase/Components/KnowledgebaseCategories/Default.cshtml
@@ -10,7 +10,7 @@
<ul class="list">
@foreach (var category in Model.Categories)
{
- <partial name="_KnowledgebaseCategoryLine.Navigation" model="category" />
+ <partial name="Partials/KnowledgebaseCategoryLine.Navigation" model="category" />
}
</ul>
</div>
diff --git a/src/Web/Grand.Web/Views/Knowledgebase/_KnowledgebaseCategoryLine.Navigation.cshtml b/src/Web/Grand.Web/Views/Knowledgebase/Partials/KnowledgebaseCategoryLine.Navigation.cshtml
similarity index 84%
rename from src/Web/Grand.Web/Views/Knowledgebase/_KnowledgebaseCategoryLine.Navigation.cshtml
rename to src/Web/Grand.Web/Views/Knowledgebase/Partials/KnowledgebaseCategoryLine.Navigation.cshtml
index c92e0b793..2090a83e5 100644
--- a/src/Web/Grand.Web/Views/Knowledgebase/_KnowledgebaseCategoryLine.Navigation.cshtml
+++ b/src/Web/Grand.Web/Views/Knowledgebase/Partials/KnowledgebaseCategoryLine.Navigation.cshtml
@@ -7,7 +7,7 @@
<a href="@Url.RouteUrl("KnowledgebaseCategory", new { SeName = Model.SeName })"><strong>@Model.Name</strong></a>
@foreach (var category in Model.Children)
{
- <partial name="_KnowledgebaseCategoryLine.Navigation" model="category" />
+ <partial name="Partials/KnowledgebaseCategoryLine.Navigation" model="category" />
}
</li>
}
diff --git a/src/Web/Grand.Web/Views/MerchandiseReturn/MerchandiseReturn.cshtml b/src/Web/Grand.Web/Views/MerchandiseReturn/MerchandiseReturn.cshtml
index 8b78a43a4..ba1be6103 100644
--- a/src/Web/Grand.Web/Views/MerchandiseReturn/MerchandiseReturn.cshtml
+++ b/src/Web/Grand.Web/Views/MerchandiseReturn/MerchandiseReturn.cshtml
@@ -189,7 +189,7 @@
@{
var dataDictAddress = new ViewDataDictionary(ViewData);
dataDictAddress.TemplateInfo.HtmlFieldPrefix = "MerchandiseReturnNewAddress";
- <partial name="_CreateOrUpdateAddress" model="Model.NewAddress" view-data="dataDictAddress" />
+ <partial name="Partials/CreateOrUpdateAddress" model="Model.NewAddress" view-data="dataDictAddress" />
}
</div>
</div>
diff --git a/src/Web/Grand.Web/Views/Order/Details.cshtml b/src/Web/Grand.Web/Views/Order/Details.cshtml
index c83874ff2..df098208f 100644
--- a/src/Web/Grand.Web/Views/Order/Details.cshtml
+++ b/src/Web/Grand.Web/Views/Order/Details.cshtml
@@ -46,7 +46,7 @@
var notemodel = new AddOrderNoteModel();
notemodel.OrderId = Model.Id;
- <partial name="_AddOrderNote" model="@notemodel"/>
+ <partial name="Partials/AddOrderNote" model="@notemodel"/>
}
</div>
}
diff --git a/src/Web/Grand.Web/Views/Order/_AddOrderNote.cshtml b/src/Web/Grand.Web/Views/Order/Partials/AddOrderNote.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Order/_AddOrderNote.cshtml
rename to src/Web/Grand.Web/Views/Order/Partials/AddOrderNote.cshtml
diff --git a/src/Web/Grand.Web/Views/Order/_Print.cshtml b/src/Web/Grand.Web/Views/Order/_Print.cshtml
index b65ec615b..3fe619da8 100644
--- a/src/Web/Grand.Web/Views/Order/_Print.cshtml
+++ b/src/Web/Grand.Web/Views/Order/_Print.cshtml
@@ -3,7 +3,6 @@
<head>
<title asp-default-title="true"></title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<link href="/theme/css/print.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="/lib/bootstrap/dist/css/bootstrap.min.css">
@@ -16,6 +15,5 @@
@RenderBody()
<script asp-location="Footer" asp-src="/theme/script/menu.js"></script>
<script asp-location="Footer" asp-src="/theme/script/app.js"></script>
-
</body>
</html>
diff --git a/src/Web/Grand.Web/Views/Product/AskQuestion.cshtml b/src/Web/Grand.Web/Views/Product/AskQuestion.cshtml
deleted file mode 100644
index 3b41c6f73..000000000
--- a/src/Web/Grand.Web/Views/Product/AskQuestion.cshtml
+++ /dev/null
@@ -1,78 +0,0 @@
-@model ProductAskQuestionModel
-@inject IPageHeadBuilder pagebuilder
-@{
- Layout = "_SingleColumn";
-
- //title
- pagebuilder.AddTitleParts(Model.ProductName);
- pagebuilder.AddTitleParts(Loc["Title.ProductAskQuestion"]);
-}
-<div class="page ask-a-question-page">
- <h1 class="h2 text-xs-center generalTitle">@Loc["Products.AskQuestion.Title"]</h1>
- <h2 class="h4 text-xs-center"><a href="@Url.RouteUrl("Product", new { SeName = Model.ProductSeName })" class="product">@Model.ProductName</a></h2>
- @if (Model.SuccessfullySent)
- {
- <section class="result alert alert-info my-3">
- @Model.Result
- </section>
- }
- else
- {
- <validation-observer v-slot="{ handleSubmit }">
- <form asp-route="AskQuestion" method="post" ref="form" v-on:submit.prevent="handleSubmit(formSubmit)">
- <div asp-validation-summary="ModelOnly" class="message-error"></div>
- <fieldset class="form-group">
- <validation-provider tag="div" rules="required|email" name="Email" v-slot="{ errors, classes }">
- <label asp-for="Email" class="col-form-label">@Loc["Products.AskQuestion.Email"]:</label>
- <input asp-for="Email" v-model="askquestion.Email" placeholder="@Loc["Products.AskQuestion.Email.Hint"]" v-bind:class="[classes , 'form-control ask-question-email']" />
- <span class="field-validation-error">{{ errors[0] }}</span>
- <span asp-validation-for="Email"></span>
- </validation-provider>
- </fieldset>
- <fieldset class="form-group">
- <validation-provider tag="div" rules="required" name="FullName" v-slot="{ errors, classes }">
- <label asp-for="FullName" class="col-form-label">@Loc["Products.AskQuestion.FullName"]:</label>
- <input asp-for="FullName" v-model="askquestion.FullName" placeholder="@Loc["Products.AskQuestion.FullName.Hint"]" v-bind:class="[classes , 'form-control ask-question-fullname']" />
- <span class="field-validation-error">{{ errors[0] }}</span>
- <span asp-validation-for="FullName"></span>
- </validation-provider>
- </fieldset>
- <fieldset class="form-group">
- <label asp-for="Phone" class="col-form-label">@Loc["Products.AskQuestion.Phone"]:</label>
- <input asp-for="Phone" placeholder="@Loc["Products.AskQuestion.Phone.Hint"]" class="form-control ask-question-phone" />
- </fieldset>
- <fieldset class="form-group">
- <validation-provider tag="div" rules="required" name="Message" v-slot="{ errors, classes }">
- <label asp-for="Message" class="col-form-label">@Loc["Products.AskQuestion.Message"]:</label>
- <textarea asp-for="Message" v-model="askquestion.Message" placeholder="@Loc["Products.AskQuestion.Message.Hint"]" v-bind:class="[classes , 'form-control ask-question-message']" rows="4"></textarea>
- <span class="field-validation-error">{{ errors[0] }}</span>
- <span asp-validation-for="Message"></span>
- </validation-provider>
- </fieldset>
- @if (Model.DisplayCaptcha)
- {
- <div class="captcha-box">
- <captcha />
- </div>
- }
- <div class="buttons generalMarginSupporter pt-1 pb-1">
- <input type="submit" name="send-email" class="btn btn-info send-ask-question-button" value="@Loc["Products.AskQuestion.Button"]" />
- <span class="sr-only">@Loc["Products.AskQuestion.Button"]</span>
- </div>
- </form>
- </validation-observer>
- <script asp-location="Footer" asp-order="300">
- var askquestion = new Vue({
- data: () => ({
- @{
- <text>
- FullName: '@Html.Raw(Model.FullName)',
- Email: '@Html.Raw(Model.Email)',
- Message: '@Html.Raw(Model.Message)',
- </text>
- }
- })
- });
- </script>
- }
-</div>
diff --git a/src/Web/Grand.Web/Views/Product/Components/ProductReviews/Default.cshtml b/src/Web/Grand.Web/Views/Product/Components/ProductReviews/Default.cshtml
index 943ee9e42..c021ee865 100644
--- a/src/Web/Grand.Web/Views/Product/Components/ProductReviews/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Product/Components/ProductReviews/Default.cshtml
@@ -10,8 +10,7 @@
@Loc["reviews.onlyregistereduserscanwritereviews"]
</div>
</template>
-<partial name="_ProductReview.Modal.cshtml" model="Model" />
-
+<partial name="Partials/ProductReview.Modal.cshtml" model="Model" />
<template id="product-review-list" v-if="productreviews.Model !== null">
<div class="product-review-list">
<template v-if="productreviews.Model.Items.length > 0">
diff --git a/src/Web/Grand.Web/Views/Product/Components/ProductReviews/_ProductReview.Modal.cshtml b/src/Web/Grand.Web/Views/Product/Components/ProductReviews/Partials/ProductReview.Modal.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/Components/ProductReviews/_ProductReview.Modal.cshtml
rename to src/Web/Grand.Web/Views/Product/Components/ProductReviews/Partials/ProductReview.Modal.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/NewProducts.cshtml b/src/Web/Grand.Web/Views/Product/NewProducts.cshtml
index 1ea1b2b3d..7e100472f 100644
--- a/src/Web/Grand.Web/Views/Product/NewProducts.cshtml
+++ b/src/Web/Grand.Web/Views/Product/NewProducts.cshtml
@@ -15,7 +15,7 @@
@foreach (var product in Model)
{
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" model="product" />
+ <partial name="Partials/CatalogProductView" model="product" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Product/_AddToCart.cshtml b/src/Web/Grand.Web/Views/Product/Partials/AddToCart.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_AddToCart.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/AddToCart.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_AddToWishlist.cshtml b/src/Web/Grand.Web/Views/Product/Partials/AddToWishlist.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_AddToWishlist.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/AddToWishlist.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_AskQuestionOnProduct.cshtml b/src/Web/Grand.Web/Views/Product/Partials/AskQuestionOnProduct.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_AskQuestionOnProduct.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/AskQuestionOnProduct.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_AuctionInfo.cshtml b/src/Web/Grand.Web/Views/Product/Partials/AuctionInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_AuctionInfo.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/AuctionInfo.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_Availability.cshtml b/src/Web/Grand.Web/Views/Product/Partials/Availability.cshtml
similarity index 88%
rename from src/Web/Grand.Web/Views/Product/_Availability.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/Availability.cshtml
index 89d02e270..d285bf39f 100644
--- a/src/Web/Grand.Web/Views/Product/_Availability.cshtml
+++ b/src/Web/Grand.Web/Views/Product/Partials/Availability.cshtml
@@ -12,6 +12,6 @@
}
@if (Model.DisplayOutOfStockSubscription)
{
- <partial name="_OutOfStockSubscription" model="Model" />
+ <partial name="Partials/OutOfStockSubscription" model="Model" />
}
</div>
diff --git a/src/Web/Grand.Web/Views/Product/_Breadcrumbs.cshtml b/src/Web/Grand.Web/Views/Product/Partials/Breadcrumbs.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_Breadcrumbs.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/Breadcrumbs.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_Captcha.cshtml b/src/Web/Grand.Web/Views/Product/Partials/Captcha.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_Captcha.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/Captcha.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_Codes.cshtml b/src/Web/Grand.Web/Views/Product/Partials/Codes.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_Codes.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/Codes.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_Collections.cshtml b/src/Web/Grand.Web/Views/Product/Partials/Collections.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_Collections.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/Collections.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_DeliveryInfo.cshtml b/src/Web/Grand.Web/Views/Product/Partials/DeliveryInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_DeliveryInfo.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/DeliveryInfo.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_DownloadSample.cshtml b/src/Web/Grand.Web/Views/Product/Partials/DownloadSample.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_DownloadSample.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/DownloadSample.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_GiftVoucherInfo.cshtml b/src/Web/Grand.Web/Views/Product/Partials/GiftVoucherInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_GiftVoucherInfo.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/GiftVoucherInfo.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_OutOfStockSubscription.cshtml b/src/Web/Grand.Web/Views/Product/Partials/OutOfStockSubscription.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_OutOfStockSubscription.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/OutOfStockSubscription.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_Pictures.cshtml b/src/Web/Grand.Web/Views/Product/Partials/Pictures.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_Pictures.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/Pictures.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_PicturesQuickView.cshtml b/src/Web/Grand.Web/Views/Product/Partials/PicturesQuickView.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_PicturesQuickView.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/PicturesQuickView.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_Prices.cshtml b/src/Web/Grand.Web/Views/Product/Partials/Prices.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_Prices.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/Prices.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_ProductAttributes.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ProductAttributes.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_ProductAttributes.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ProductAttributes.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_ProductAttributesBundle.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ProductAttributesBundle.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_ProductAttributesBundle.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ProductAttributesBundle.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_ProductBundles.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ProductBundles.cshtml
similarity index 99%
rename from src/Web/Grand.Web/Views/Product/_ProductBundles.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ProductBundles.cshtml
index 024c2340e..4035ebe5a 100644
--- a/src/Web/Grand.Web/Views/Product/_ProductBundles.cshtml
+++ b/src/Web/Grand.Web/Views/Product/Partials/ProductBundles.cshtml
@@ -21,7 +21,7 @@
dataDictAttributes.Add("ProductId", item.ProductId);
dataDictAttributes.TemplateInfo.HtmlFieldPrefix = string.Format("attributes_{0}", item.ProductId);
<div class="col-12 pt-1">
- <partial name="_ProductAttributesBundle" model="item.ProductAttributes" view-data="dataDictAttributes" />
+ <partial name="Partials/ProductAttributesBundle" model="item.ProductAttributes" view-data="dataDictAttributes" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Product/_ProductReviewHelpfulness.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ProductReviewHelpfulness.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_ProductReviewHelpfulness.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ProductReviewHelpfulness.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_ProductReviewOverview.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ProductReviewOverview.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_ProductReviewOverview.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ProductReviewOverview.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_ProductSpecifications.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ProductSpecifications.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_ProductSpecifications.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ProductSpecifications.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_ProductTags.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ProductTags.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_ProductTags.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ProductTags.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_ProductsComparison.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ProductsComparison.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_ProductsComparison.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ProductsComparison.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_ReservationInfo.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ReservationInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_ReservationInfo.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ReservationInfo.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_SendFriend.cshtml b/src/Web/Grand.Web/Views/Product/Partials/SendFriend.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_SendFriend.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/SendFriend.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_ShareButton.cshtml b/src/Web/Grand.Web/Views/Product/Partials/ShareButton.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_ShareButton.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/ShareButton.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_TierPrices.cshtml b/src/Web/Grand.Web/Views/Product/Partials/TierPrices.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_TierPrices.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/TierPrices.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_Unavailable.cshtml b/src/Web/Grand.Web/Views/Product/Partials/Unavailable.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_Unavailable.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/Unavailable.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/_Warehouses.cshtml b/src/Web/Grand.Web/Views/Product/Partials/Warehouses.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Product/_Warehouses.cshtml
rename to src/Web/Grand.Web/Views/Product/Partials/Warehouses.cshtml
diff --git a/src/Web/Grand.Web/Views/Product/ProductLayout.Grouped.cshtml b/src/Web/Grand.Web/Views/Product/ProductLayout.Grouped.cshtml
index bd6edaf1a..d8793cc58 100644
--- a/src/Web/Grand.Web/Views/Product/ProductLayout.Grouped.cshtml
+++ b/src/Web/Grand.Web/Views/Product/ProductLayout.Grouped.cshtml
@@ -42,7 +42,7 @@
<!--product breadcrumb-->
@section Breadcrumb
{
- <partial name="_Breadcrumbs" model="Model.Breadcrumb" />
+ <partial name="Partials/Breadcrumbs" model="Model.Breadcrumb" />
}
@await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_after_breadcrumb", additionalData = Model.Id })
<div class="page product-details-page product-standard product-grouped">
@@ -55,7 +55,7 @@
<div class="row">
<vc:widget widget-zone="productdetails_before_pictures" additional-data="@Model.Id"></vc:widget>
<!--product pictures-->
- <partial name="_Pictures" model="Model" />
+ <partial name="Partials/Pictures" model="Model" />
<vc:widget widget-zone="productdetails_after_pictures" additional-data="@Model.Id"></vc:widget>
<div class="col-xl-6 col-lg-6 col-md-7 col-12 overview pl-md-3 pl-0 pr-0">
@if (!string.IsNullOrEmpty(Model.Flag))
@@ -64,7 +64,7 @@
<div class="badge badge-info">@Model.Flag</div>
</div>
}
- <partial name="_Unavailable" model="Model" />
+ <partial name="Partials/Unavailable" model="Model" />
<div class="product-name">
<h1 class="generalTitle mb-3" itemprop="name">
@Model.Name
@@ -80,26 +80,26 @@
<!--product reviews-->
@if (Model.ProductReviewOverview.AllowCustomerReviews)
{
- <partial name="_ProductReviewOverview" model="Model.ProductReviewOverview" />
+ <partial name="Partials/ProductReviewOverview" model="Model.ProductReviewOverview" />
}
<!--product collections-->
@if (Model.ProductCollections.Any())
{
- <partial name="_Collections" model="Model.ProductCollections" />
+ <partial name="Partials/Collections" model="Model.ProductCollections" />
}
<!--warehouses-->
@if (Model.AllowToSelectWarehouse)
{
- <partial name="_Warehouses" model="Model" />
+ <partial name="Partials/Warehouses" model="Model" />
}
<!--compare, email a friend-->
<b-btn-group class="mt-2 mb-3 w-100">
@await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_inside_overview_buttons_before", additionalData = Model.Id })
- <partial name="_ProductsComparison" model="Model" />
- <partial name="_SendFriend" model="Model" />
+ <partial name="Partials/ProductsComparison" model="Model" />
+ <partial name="Partials/SendFriend" model="Model" />
@await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_inside_overview_buttons_after", additionalData = Model.Id })
</b-btn-group>
- <partial name="_ShareButton" model="Model" />
+ <partial name="Partials/ShareButton" model="Model" />
@await Component.InvokeAsync("Widget", new { widgetZone = "productdetails_overview_bottom", additionalData = Model.Id })
</div>
</div>
@@ -115,13 +115,13 @@
@if (Model.ProductTags.Any())
{
<b-tab title="@Loc["Products.Tags"]">
- <partial name="_ProductTags" model="Model.ProductTags" />
+ <partial name="Partials/ProductTags" model="Model.ProductTags" />
</b-tab>
}
@if (Model.ProductSpecifications.Any())
{
<b-tab title="@Loc["Products.Specs"]">
- <partial name="_ProductSpecifications" model="Model.ProductSpecifications" />
+ <partial name="Partials/ProductSpecifications" model="Model.ProductSpecifications" />
</b-tab>
}
@if (Model.ProductReviewOverview.AllowCustomerReviews)
@@ -133,7 +133,7 @@
@if (Model.AskQuestionOnProduct)
{
<b-tab title="@Loc["Products.ContactUs"]" @if (Model.ProductAskQuestion.DisplayCaptcha) { <text> @@click="askquestion.getCaptcha()" </text> }>
- <partial name="_AskQuestionOnProduct" model="Model.ProductAskQuestion" />
+ <partial name="Partials/AskQuestionOnProduct" model="Model.ProductAskQuestion" />
</b-tab>
}
</b-tabs>
@@ -156,19 +156,19 @@
@Html.Raw(variant.ShortDescription)
</div>
<!--availability-->
- <partial name="_Availability" model="variant" />
+ <partial name="Partials/Availability" model="variant" />
<!--Code products - SKU, MAN, GTIN, Vendor info -->
- <partial name="_Codes" model="variant" />
+ <partial name="Partials/Codes" model="variant" />
<!--delivery-->
@if ((variant.FreeShippingNotificationEnabled && Model.IsFreeShipping) || !string.IsNullOrWhiteSpace(variant.DeliveryDate)
|| variant.NotReturnable || variant.AdditionalShippingCharge > 0)
{
- <partial name="_DeliveryInfo" model="variant" />
+ <partial name="Partials/DeliveryInfo" model="variant" />
}
<!--sample download-->
@if (variant.HasSampleDownload)
{
- <partial name="_DownloadSample" model="variant" />
+ <partial name="Partials/DownloadSample" model="variant" />
}
<!--attributes-->
@{
@@ -176,7 +176,7 @@
{
var dataDictAttributes = new ViewDataDictionary(ViewData);
dataDictAttributes.TemplateInfo.HtmlFieldPrefix = string.Format("attributes_{0}", variant.Id);
- <partial name="_ProductAttributes" model="variant.ProductAttributes" view-data="dataDictAttributes" />
+ <partial name="Partials/ProductAttributes" model="variant.ProductAttributes" view-data="dataDictAttributes" />
}
}
<!--gift voucher-->
@@ -185,13 +185,13 @@
{
var dataDictGiftVoucher = new ViewDataDictionary(ViewData);
dataDictGiftVoucher.TemplateInfo.HtmlFieldPrefix = string.Format("giftvoucher_{0}", variant.Id);
- <partial name="_GiftVoucherInfo" model="variant.GiftVoucher" view-data="dataDictGiftVoucher" />
+ <partial name="Partials/GiftVoucherInfo" model="variant.GiftVoucher" view-data="dataDictGiftVoucher" />
}
}
<!--price breaks-->
@if (variant.TierPrices.Any())
{
- <partial name="_TierPrices" model="variant.TierPrices" />
+ <partial name="Partials/TierPrices" model="variant.TierPrices" />
}
@{
var dataDictAddToCart = new ViewDataDictionary(ViewData);
@@ -201,14 +201,14 @@
@{
var dataDictPrice = new ViewDataDictionary(ViewData);
dataDictPrice.TemplateInfo.HtmlFieldPrefix = string.Format("price_{0}", variant.Id);
- <partial name="_Prices" model="variant.ProductPrice" view-data="dataDictPrice" />
+ <partial name="Partials/Prices" model="variant.ProductPrice" view-data="dataDictPrice" />
}
@{
- <partial name="_AddToCart" model="variant.AddToCart" view-data="dataDictAddToCart" />
+ <partial name="Partials/AddToCart" model="variant.AddToCart" view-data="dataDictAddToCart" />
var dataDictAddToWishlist = new ViewDataDictionary(ViewData);
dataDictAddToWishlist.TemplateInfo.HtmlFieldPrefix = string.Format("addtocart_{0}", variant.Id);
<div class="mt-2">
- <partial name="_AddToWishlist" model="variant.AddToCart" view-data="dataDictAddToWishlist" />
+ <partial name="Partials/AddToWishlist" model="variant.AddToCart" view-data="dataDictAddToWishlist" />
</div>
}
</div>
@@ -227,7 +227,7 @@
</div>
@if (Model.RenderCaptcha)
{
- <partial name="_Captcha" />
+ <partial name="Partials/Captcha" />
}
</div>
@await Component.InvokeAsync("RelatedProducts", new { productId = Model.Id })
diff --git a/src/Web/Grand.Web/Views/Product/ProductLayout.Simple.cshtml b/src/Web/Grand.Web/Views/Product/ProductLayout.Simple.cshtml
index 799dee838..8739dfe17 100644
--- a/src/Web/Grand.Web/Views/Product/ProductLayout.Simple.cshtml
+++ b/src/Web/Grand.Web/Views/Product/ProductLayout.Simple.cshtml
@@ -44,7 +44,7 @@
<!--product breadcrumb-->
@section Breadcrumb
{
- <partial name="_Breadcrumbs" model="Model.Breadcrumb" />
+ <partial name="Partials/Breadcrumbs" model="Model.Breadcrumb" />
}
<vc:widget widget-zone="productdetails_after_breadcrumb" additional-data="@Model.Id"></vc:widget>
@@ -57,7 +57,7 @@
<div class="row">
<vc:widget widget-zone="productdetails_before_pictures" additional-data="@Model.Id"></vc:widget>
<!--product pictures-->
- <partial name="_Pictures" model="Model" />
+ <partial name="Partials/Pictures" model="Model" />
<vc:widget widget-zone="productdetails_after_pictures" additional-data="@Model.Id"></vc:widget>
<div class="col-xl-6 col-lg-6 col-md-7 col-12 overview pl-md-3 pl-0 pr-0">
@if (!string.IsNullOrEmpty(Model.Flag))
@@ -66,14 +66,14 @@
<div class="badge badge-info">@Model.Flag</div>
</div>
}
- <partial name="_Unavailable" model="Model" />
+ <partial name="Partials/Unavailable" model="Model" />
<h1 class="generalTitle" itemprop="name">
@Model.Name
</h1>
<!--product reviews-->
@if (Model.ProductReviewOverview.AllowCustomerReviews)
{
- <partial name="_ProductReviewOverview" model="Model.ProductReviewOverview" />
+ <partial name="Partials/ProductReviewOverview" model="Model.ProductReviewOverview" />
}
<vc:widget widget-zone="productdetails_overview_top" additional-data="@Model.Id"></vc:widget>
@if (!String.IsNullOrEmpty(Model.ShortDescription))
@@ -85,30 +85,30 @@
<!--collections-->
@if (Model.ProductCollections.Any())
{
- <partial name="_Collections" model="Model.ProductCollections" />
+ <partial name="Partials/Collections" model="Model.ProductCollections" />
}
<!--availability-->
@if (!String.IsNullOrWhiteSpace(Model.StockAvailability) || Model.DisplayOutOfStockSubscription)
{
- <partial name="_Availability" model="Model" />
+ <partial name="Partials/Availability" model="Model" />
}
<!--Code products - SKU, MAN, GTIN, Vendor info -->
- <partial name="_Codes" model="Model" />
+ <partial name="Partials/Codes" model="Model" />
<!--delivery-->
@if ((Model.FreeShippingNotificationEnabled && Model.IsFreeShipping) || !string.IsNullOrWhiteSpace(Model.DeliveryDate)
|| Model.NotReturnable || Model.AdditionalShippingCharge > 0)
{
- <partial name="_DeliveryInfo" model="Model" />
+ <partial name="Partials/DeliveryInfo" model="Model" />
}
<!--sample download-->
@if (Model.HasSampleDownload)
{
- <partial name="_DownloadSample" model="Model" />
+ <partial name="Partials/DownloadSample" model="Model" />
}
<!--product bundles-->
@if (Model.ProductBundleModels.Any())
{
- <partial name="_ProductBundles" model="Model" />
+ <partial name="Partials/ProductBundles" model="Model" />
}
<!--attributes-->
@{
@@ -116,13 +116,13 @@
{
var dataDictAttributes = new ViewDataDictionary(ViewData);
dataDictAttributes.TemplateInfo.HtmlFieldPrefix = string.Format("attributes_{0}", Model.Id);
- <partial name="_ProductAttributes" model="Model.ProductAttributes" view-data="dataDictAttributes" />
+ <partial name="Partials/ProductAttributes" model="Model.ProductAttributes" view-data="dataDictAttributes" />
}
}
<!--warehouses-->
@if (Model.AllowToSelectWarehouse)
{
- <partial name="_Warehouses" model="Model" />
+ <partial name="Partials/Warehouses" model="Model" />
}
<!--gift voucher-->
@{
@@ -130,7 +130,7 @@
{
var dataDictGiftVoucher = new ViewDataDictionary(ViewData);
dataDictGiftVoucher.TemplateInfo.HtmlFieldPrefix = string.Format("giftvoucher_{0}", Model.Id);
- <partial name="_GiftVoucherInfo" model="Model.GiftVoucher" view-data="dataDictGiftVoucher" />
+ <partial name="Partials/GiftVoucherInfo" model="Model.GiftVoucher" view-data="dataDictGiftVoucher" />
}
}
<!--reservation info-->
@@ -138,21 +138,21 @@
{
var dataDictReservation = new ViewDataDictionary(ViewData);
dataDictReservation.TemplateInfo.HtmlFieldPrefix = string.Format("reservation_{0}", Model.Id);
- <partial name="_ReservationInfo" model="Model" view-data="dataDictReservation" />
+ <partial name="Partials/ReservationInfo" model="Model" view-data="dataDictReservation" />
}
<!--price & add to cart-->
<div class="overview-buttons generalMarginSupporter">
@if (Model.TierPrices.Any())
{
<div class="col-lg-12 px-0">
- <partial name="_TierPrices" model="Model.TierPrices" />
+ <partial name="Partials/TierPrices" model="Model.TierPrices" />
</div>
}
<div class="col-lg-12 px-0">
@{
var dataDictPrice = new ViewDataDictionary(ViewData);
dataDictPrice.TemplateInfo.HtmlFieldPrefix = string.Format("price_{0}", Model.Id);
- <partial name="_Prices" model="Model.ProductPrice" view-data="dataDictPrice" />
+ <partial name="Partials/Prices" model="Model.ProductPrice" view-data="dataDictPrice" />
}
</div>
<div class="generalMarginSupporter">
@@ -161,7 +161,7 @@
{
var dataDictAuction = new ViewDataDictionary(ViewData);
dataDictAuction.TemplateInfo.HtmlFieldPrefix = string.Format("auction_{0}", Model.Id);
- <partial name="_AuctionInfo" model="Model" view-data="dataDictAuction" />
+ <partial name="Partials/AuctionInfo" model="Model" view-data="dataDictAuction" />
}
@{
var dataDictAddToWishlist = new ViewDataDictionary(ViewData);
@@ -169,16 +169,16 @@
var dataDictAddToCart = new ViewDataDictionary(ViewData);
dataDictAddToCart.TemplateInfo.HtmlFieldPrefix = string.Format("addtocart_{0}", Model.Id);
}
- <partial name="_AddToCart" model="Model.AddToCart" view-data="dataDictAddToCart" />
+ <partial name="Partials/AddToCart" model="Model.AddToCart" view-data="dataDictAddToCart" />
<div class="btn-group mt-2 mb-3 w-100">
@if (Model.ProductType == ProductType.SimpleProduct || Model.ProductType == ProductType.BundledProduct)
{
- <partial name="_AddToWishlist" model="Model.AddToCart" view-data="dataDictAddToWishlist" />
- <partial name="_ProductsComparison" model="Model" />
+ <partial name="Partials/AddToWishlist" model="Model.AddToCart" view-data="dataDictAddToWishlist" />
+ <partial name="Partials/ProductsComparison" model="Model" />
}
@if (Model.EmailAFriendEnabled)
{
- <partial name="_SendFriend" model="Model" />
+ <partial name="Partials/SendFriend" model="Model" />
}
</div>
</div>
@@ -186,7 +186,7 @@
@if (!String.IsNullOrWhiteSpace(Model.PageShareCode))
{
<div class="col-12 product-share px-0">
- <partial name="_ShareButton" model="Model" />
+ <partial name="Partials/ShareButton" model="Model" />
</div>
}
<vc:widget widget-zone="productdetails_overview_bottom" additional-data="@Model.Id"></vc:widget>
@@ -203,13 +203,13 @@
@if (Model.ProductTags.Any())
{
<b-tab title="@Loc["Products.Tags"]">
- <partial name="_ProductTags" model="Model.ProductTags" />
+ <partial name="Partials/ProductTags" model="Model.ProductTags" />
</b-tab>
}
@if (Model.ProductSpecifications.Any())
{
<b-tab title="@Loc["Products.Specs"]">
- <partial name="_ProductSpecifications" model="Model.ProductSpecifications" />
+ <partial name="Partials/ProductSpecifications" model="Model.ProductSpecifications" />
</b-tab>
}
@if (Model.ProductReviewOverview.AllowCustomerReviews)
@@ -221,7 +221,7 @@
@if (Model.AskQuestionOnProduct)
{
<b-tab title="@Loc["Products.ContactUs"]" @if (Model.ProductAskQuestion.DisplayCaptcha) { <text> @@click="askquestion.getCaptcha()" </text> }>
- <partial name="_AskQuestionOnProduct" model="Model.ProductAskQuestion" />
+ <partial name="Partials/AskQuestionOnProduct" model="Model.ProductAskQuestion" />
</b-tab>
}
</b-tabs>
@@ -233,7 +233,7 @@
<vc:recommended-products product-id="@Model.Id" product-thumb-picture-size="null"></vc:recommended-products>
@if (Model.RenderCaptcha)
{
- <partial name="_Captcha" />
+ <partial name="Partials/Captcha" />
}
</div>
</form>
diff --git a/src/Web/Grand.Web/Views/Product/RecentlyViewedProducts.cshtml b/src/Web/Grand.Web/Views/Product/RecentlyViewedProducts.cshtml
index 312a91299..a43317a60 100644
--- a/src/Web/Grand.Web/Views/Product/RecentlyViewedProducts.cshtml
+++ b/src/Web/Grand.Web/Views/Product/RecentlyViewedProducts.cshtml
@@ -14,7 +14,7 @@
@foreach (var product in Model)
{
<div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
- <partial name="_CatalogProductView" model="product" />
+ <partial name="Partials/CatalogProductView" model="product" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/BlogPostProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/BlogPostProducts/Default.cshtml
index 9d0cf2005..5f4f2d537 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/BlogPostProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/BlogPostProducts/Default.cshtml
@@ -8,7 +8,7 @@
@foreach (var product in Model)
{
<div class="col-lg-4 col-sm-6 col-6 mb-2">
- <partial name="_CatalogProductView" model="product" />
+ <partial name="Partials/CatalogProductView" model="product" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/CategoryFeaturedProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/CategoryFeaturedProducts/Default.cshtml
index 4a6faa362..525c97f05 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/CategoryFeaturedProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/CategoryFeaturedProducts/Default.cshtml
@@ -19,7 +19,7 @@
@foreach (var product in item.FeaturedProducts)
{
<div class="[email protected]_pp_Xl [email protected]_pp_Lg [email protected]_pp_Md [email protected]_pp_Sm [email protected]_pp_Col featured-product-container mb-2">
- <partial name="_CatalogProductView" model="product" />
+ <partial name="Partials/CatalogProductView" model="product" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/CategoryNavigation/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/CategoryNavigation/Default.cshtml
index b9b7ec912..3004970e5 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/CategoryNavigation/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/CategoryNavigation/Default.cshtml
@@ -12,7 +12,7 @@
CurrentCategoryId = Model.CurrentCategoryId,
Category = category
};
- <partial name="_CategoryLine.Navigation" model="categoryLineModel" />
+ <partial name="Components/Menu/Partials/CategoryLine.Navigation" model="categoryLineModel" />
}
</ul>
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/CollectionFeaturedProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/CollectionFeaturedProducts/Default.cshtml
index ad334cd5c..c690d7180 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/CollectionFeaturedProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/CollectionFeaturedProducts/Default.cshtml
@@ -19,7 +19,7 @@
@foreach (var product in item.FeaturedProducts)
{
<div class="[email protected]_pp_Xl [email protected]_pp_Lg [email protected]_pp_Md [email protected]_pp_Sm [email protected]_pp_Col featured-product-container mb-2">
- <partial name="_CatalogProductView" model="product" />
+ <partial name="Partials/CatalogProductView" model="product" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/CrossSellProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/CrossSellProducts/Default.cshtml
index 714a2521c..85c21ff12 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/CrossSellProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/CrossSellProducts/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var product in Model)
{
<div class="col-lg-4 col-md-4 col-sm-6 col-12 product-container mb-2">
- <partial name="_CatalogProductView" model="product" />
+ <partial name="Partials/CatalogProductView" model="product" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/CustomerRecommendedProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/CustomerRecommendedProducts/Default.cshtml
index f9a49f8ae..c142ca849 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/CustomerRecommendedProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/CustomerRecommendedProducts/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var item in Model)
{
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/Footer/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/Footer/Default.cshtml
index 865401899..4f00e5666 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/Footer/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/Footer/Default.cshtml
@@ -1,6 +1,6 @@
@model FooterModel
-<partial name="_NewsletterBox"/>
+<partial name="Partials/NewsletterBox"/>
<footer class="mt-3">
<div class="container">
diff --git a/src/Web/Grand.Web/Views/Shared/Components/HomePageBestSellers/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/HomePageBestSellers/Default.cshtml
index 6b39e644d..871c95b92 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/HomePageBestSellers/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/HomePageBestSellers/Default.cshtml
@@ -9,7 +9,7 @@
@foreach (var item in Model)
{
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/HomePageNewProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/HomePageNewProducts/Default.cshtml
index c43d509fc..a35bd5e07 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/HomePageNewProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/HomePageNewProducts/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var item in Model)
{
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/HomePageProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/HomePageProducts/Default.cshtml
index 12cf6f519..c218eddc5 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/HomePageProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/HomePageProducts/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var item in Model)
{
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/Menu/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/Menu/Default.cshtml
index bad3a8593..4f2851646 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/Menu/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/Menu/Default.cshtml
@@ -17,7 +17,7 @@
{
Category = category
};
- <partial name="_CategoryLine.Menu" model="categoryLineModel" />
+ <partial name="Components/Menu/Partials/CategoryLine.Menu" model="categoryLineModel" />
}
@foreach (var mpage in Model.Pages)
diff --git a/src/Web/Grand.Web/Views/Shared/_CategoryLine.Menu.cshtml b/src/Web/Grand.Web/Views/Shared/Components/Menu/Partials/CategoryLine.Menu.cshtml
similarity index 94%
rename from src/Web/Grand.Web/Views/Shared/_CategoryLine.Menu.cshtml
rename to src/Web/Grand.Web/Views/Shared/Components/Menu/Partials/CategoryLine.Menu.cshtml
index ccd741347..f81064a5c 100644
--- a/src/Web/Grand.Web/Views/Shared/_CategoryLine.Menu.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/Menu/Partials/CategoryLine.Menu.cshtml
@@ -62,7 +62,7 @@
Level = Model.Level + 1,
ResponsiveMobileMenu = Model.ResponsiveMobileMenu
};
- <partial name="_CategoryLine.Menu" model="categoryLineModel" />
+ <partial name="Components/Menu/Partials/CategoryLine.Menu" model="categoryLineModel" />
}
</ul>
}
@@ -88,7 +88,7 @@
Level = Model.Level + 1,
ResponsiveMobileMenu = Model.ResponsiveMobileMenu
};
- <partial name="_CategoryLine.Menu" model="categoryLineModel" />
+ <partial name="Components/Menu/Partials/CategoryLine.Menu" model="categoryLineModel" />
}
</ul>
}
diff --git a/src/Web/Grand.Web/Views/Shared/_CategoryLine.Navigation.cshtml b/src/Web/Grand.Web/Views/Shared/Components/Menu/Partials/CategoryLine.Navigation.cshtml
similarity index 94%
rename from src/Web/Grand.Web/Views/Shared/_CategoryLine.Navigation.cshtml
rename to src/Web/Grand.Web/Views/Shared/Components/Menu/Partials/CategoryLine.Navigation.cshtml
index 44cfff42c..7d0d3565a 100644
--- a/src/Web/Grand.Web/Views/Shared/_CategoryLine.Navigation.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/Menu/Partials/CategoryLine.Navigation.cshtml
@@ -54,7 +54,7 @@
CurrentCategoryId = Model.CurrentCategoryId,
Category = subCategory
};
- <partial name="_CategoryLine.Navigation" model="categoryLineModel" />
+ <partial name="Components/Menu/Partials/CategoryLine.Navigation" model="categoryLineModel" />
}
</ul>
}
diff --git a/src/Web/Grand.Web/Views/Shared/Components/PersonalizedProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/PersonalizedProducts/Default.cshtml
index ffb430c43..7c940e650 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/PersonalizedProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/PersonalizedProducts/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var item in Model)
{
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/ProductsAlsoPurchased/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/ProductsAlsoPurchased/Default.cshtml
index ff58a7359..7d09db8e1 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/ProductsAlsoPurchased/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/ProductsAlsoPurchased/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var item in Model)
{
<div class="col-xl-3 col-lg-4 col-md-4 col-sm-6 product-container mb-2">
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/RecommendedProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/RecommendedProducts/Default.cshtml
index 7bf8631b6..3f17179d1 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/RecommendedProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/RecommendedProducts/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var item in Model)
{
<div class="col-xl-3 col-lg-4 col-md-4 col-sm-6 product-container mb-2">
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/RelatedProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/RelatedProducts/Default.cshtml
index 71d268916..7255a6470 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/RelatedProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/RelatedProducts/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var item in Model)
{
<div class="col-xl-3 col-lg-4 col-md-4 col-sm-6 product-container mb-2">
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/SimilarProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/SimilarProducts/Default.cshtml
index 2589f45c6..df12bded8 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/SimilarProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/SimilarProducts/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var item in Model)
{
<div class="col-xl-3 col-lg-4 col-md-4 col-sm-6 product-container mb-2">
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/Components/SuggestedProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/SuggestedProducts/Default.cshtml
index 196d34b1d..ae7ed5cd0 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/SuggestedProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/SuggestedProducts/Default.cshtml
@@ -7,7 +7,7 @@
@foreach (var item in Model)
{
- <partial name="_CatalogProductView" model="item" />
+ <partial name="Partials/CatalogProductView" model="item" />
</div>
}
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/_AddressAttributes.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/AddressAttributes.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_AddressAttributes.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/AddressAttributes.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_CatalogProductView.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/CatalogProductView.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_CatalogProductView.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/CatalogProductView.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Cookie.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Cookie.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_Cookie.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Cookie.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_CreateOrUpdateAddress.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/CreateOrUpdateAddress.cshtml
similarity index 99%
rename from src/Web/Grand.Web/Views/Shared/_CreateOrUpdateAddress.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/CreateOrUpdateAddress.cshtml
index 2abd04c60..15d680e29 100644
--- a/src/Web/Grand.Web/Views/Shared/_CreateOrUpdateAddress.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Partials/CreateOrUpdateAddress.cshtml
@@ -288,7 +288,7 @@
}
@if (Model.CustomAddressAttributes.Any())
{
- <partial name="_AddressAttributes" model="Model.CustomAddressAttributes" />
+ <partial name="Partials/AddressAttributes" model="Model.CustomAddressAttributes" />
}
<div id="errors-address"></div>
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/_DatePickerDropDowns.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/DatePickerDropDowns.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_DatePickerDropDowns.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/DatePickerDropDowns.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Favicons.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Favicons.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_Favicons.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Favicons.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/Head.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Head.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/Head.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Head.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/Header.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Header.cshtml
similarity index 83%
rename from src/Web/Grand.Web/Views/Shared/Header.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Header.cshtml
index 2bffcd0a8..8e129050b 100644
--- a/src/Web/Grand.Web/Views/Shared/Header.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Partials/Header.cshtml
@@ -18,7 +18,7 @@
</b-sidebar>
</template>
</div>
- <partial name="_Logo" />
+ <partial name="Partials/Logo" />
<ul class="navbar-nav top-header-items order-3">
<template>
<li class="nav-item">
@@ -49,19 +49,19 @@
<template>
<b-sidebar id="sidebar-right" body-class="user-panel" title="@Loc["Account.MyAccount"]" @if (!supportRtl) { <text>right</text> } backdrop>
<div class="d-inline-flex flex-wrap mb-2">
- <partial name="_Selector_TaxType" />
- <partial name="_Selector_Currency" />
- <partial name="_Selector_Language" />
- <partial name="_Selector_Store" />
- <partial name="_Selector_Theme" />
+ <partial name="Partials/Selector_TaxType" />
+ <partial name="Partials/Selector_Currency" />
+ <partial name="Partials/Selector_Language" />
+ <partial name="Partials/Selector_Store" />
+ <partial name="Partials/Selector_Theme" />
@await Component.InvokeAsync("Widget", new { widgetZone = "header_selectors" })
</div>
- <partial name="_HeaderLinks" />
+ <partial name="Partials/HeaderLinks" />
</b-sidebar>
</template>
</li>
</template>
- <partial name="_ShoppingCartLinks" />
+ <partial name="Partials/ShoppingCartLinks" />
</ul>
</b-container>
</nav>
diff --git a/src/Web/Grand.Web/Views/Shared/_HeaderLinks.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/HeaderLinks.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_HeaderLinks.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/HeaderLinks.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Logo.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Logo.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_Logo.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Logo.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_NewsletterBox.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/NewsletterBox.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_NewsletterBox.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/NewsletterBox.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Notifications.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Notifications.cshtml
similarity index 94%
rename from src/Web/Grand.Web/Views/Shared/_Notifications.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Notifications.cshtml
index f2d4e9218..73ebff58e 100644
--- a/src/Web/Grand.Web/Views/Shared/_Notifications.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Partials/Notifications.cshtml
@@ -38,6 +38,6 @@
<div id="bar-notification" class="generalNote"></div>
<div class="modal-place"></div>
-<partial name="_PopupAddToCart" />
-<partial name="_ProductQuickView" />
+<partial name="Partials/PopupAddToCart" />
+<partial name="Partials/ProductQuickView" />
@await Component.InvokeAsync("PopupAction")
diff --git a/src/Web/Grand.Web/Views/Shared/OrderTotals.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/OrderTotals.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/OrderTotals.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/OrderTotals.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_PopupAddToCart.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/PopupAddToCart.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_PopupAddToCart.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/PopupAddToCart.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_ProductQuickView.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/ProductQuickView.cshtml
similarity index 94%
rename from src/Web/Grand.Web/Views/Shared/_ProductQuickView.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/ProductQuickView.cshtml
index 3c9968fb1..b31c627ed 100644
--- a/src/Web/Grand.Web/Views/Shared/_ProductQuickView.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Partials/ProductQuickView.cshtml
@@ -51,17 +51,10 @@
</span>
</div>
</template>
-
-
-
@* PRODUCT BUNDLES *@
-
- <partial name="QuickView/_ProductBundles" />
-
+ <partial name="Partials/QuickView/ProductBundles" />
@* ATTRIBUTES *@
-
- <partial name="QuickView/_Attributes" />
-
+ <partial name="Partials/QuickView/Attributes" />
<template v-if="PopupQuickViewVueModal.ProductAttributes.length > 0">
<div class="attributes">
<table class="table">
@@ -84,32 +77,32 @@
</script>
@* WAREHOUSES *@
- <partial name="QuickView/_Warehouses" />
+ <partial name="Partials/QuickView/Warehouses" />
@* RESERVATIONS *@
- <partial name="QuickView/_ReservationInfo" />
+ <partial name="Partials/QuickView/ReservationInfo" />
@* GIFT VOUCHERS *@
- <partial name="QuickView/_GiftVoucherInfo" />
+ <partial name="Partials/QuickView/GiftVoucherInfo" />
@* PRICES *@
- <partial name="QuickView/_Prices" />
+ <partial name="Partials/QuickView/Prices" />
@* AUCTION *@
- <partial name="QuickView/_AuctionInfo" />
+ <partial name="Partials/QuickView/AuctionInfo" />
@* ADD TO CART *@
<template v-if="PopupQuickViewVueModal.ProductType !== 10">
- <partial name="QuickView/_AddToCart" />
+ <partial name="Partials/QuickView/AddToCart" />
<template v-if="(!PopupQuickViewVueModal.AddToCart.DisableWishlistButton || PopupQuickViewVueModal.CompareProductsEnabled || PopupQuickViewVueModal.EmailAFriendEnabled) && PopupQuickViewVueModal.AddToCart.UpdatedShoppingCartItemId == null">
<div class="btn-group mt-2 mb-3 w-100">
- <partial name="QuickView/_AddToWishlist" />
- <partial name="QuickView/_ProductsComparison" />
+ <partial name="Partials/QuickView/AddToWishlist" />
+ <partial name="Partials/QuickView/ProductsComparison" />
</div>
</template>
</template>
@@ -211,8 +204,8 @@
<!--price & add to cart-->
- <partial name="QuickView/_PricesGroup" />
- <partial name="QuickView/_AddToCartGroup" />
+ <partial name="Partials/QuickView/PricesGroup" />
+ <partial name="Partials/QuickView/AddToCartGroup" />
</div>
</div>
@@ -233,7 +226,7 @@
</template>
</div>
</div>
- <partial name="QuickView/_LinkedProducts" />
+ <partial name="Partials/QuickView/LinkedProducts" />
</div>
</div>
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_AddToCart.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/AddToCart.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_AddToCart.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/AddToCart.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_AddToCartGroup.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/AddToCartGroup.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_AddToCartGroup.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/AddToCartGroup.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_AddToWishlist.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/AddToWishlist.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_AddToWishlist.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/AddToWishlist.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_Attributes.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/Attributes.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_Attributes.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/Attributes.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_AuctionInfo.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/AuctionInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_AuctionInfo.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/AuctionInfo.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_GiftVoucherInfo.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/GiftVoucherInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_GiftVoucherInfo.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/GiftVoucherInfo.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_LinkedProducts.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/LinkedProducts.cshtml
similarity index 85%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_LinkedProducts.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/LinkedProducts.cshtml
index 3823e50e3..5158179b6 100644
--- a/src/Web/Grand.Web/Views/Shared/QuickView/_LinkedProducts.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/LinkedProducts.cshtml
@@ -4,7 +4,7 @@
<div class="form-row">
<template v-for="Model in RelatedProducts">
<div class="col-xl-3 col-lg-4 col-md-4 col-sm-6 product-container mb-2">
- <partial name="_RelatedProductView.cshtml" />
+ <partial name="Partials/QuickView/RelatedProductView" />
</div>
</template>
</div>
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_Prices.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/Prices.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_Prices.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/Prices.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_PricesGroup.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/PricesGroup.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_PricesGroup.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/PricesGroup.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_ProductBundles.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/ProductBundles.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_ProductBundles.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/ProductBundles.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_ProductsComparison.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/ProductsComparison.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_ProductsComparison.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/ProductsComparison.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_RelatedProductView.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/RelatedProductView.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_RelatedProductView.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/RelatedProductView.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_ReservationInfo.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/ReservationInfo.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_ReservationInfo.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/ReservationInfo.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_Warehouses.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/QuickView/Warehouses.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/QuickView/_Warehouses.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/QuickView/Warehouses.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Selector_Currency.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Selector_Currency.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_Selector_Currency.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Selector_Currency.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Selector_Language.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Selector_Language.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_Selector_Language.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Selector_Language.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Selector_Store.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Selector_Store.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_Selector_Store.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Selector_Store.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Selector_TaxType.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Selector_TaxType.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_Selector_TaxType.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Selector_TaxType.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Selector_Theme.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/Selector_Theme.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_Selector_Theme.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/Selector_Theme.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_ShoppingCartLinks.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/ShoppingCartLinks.cshtml
similarity index 92%
rename from src/Web/Grand.Web/Views/Shared/_ShoppingCartLinks.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/ShoppingCartLinks.cshtml
index 1377c7360..cd457b7bd 100644
--- a/src/Web/Grand.Web/Views/Shared/_ShoppingCartLinks.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Partials/ShoppingCartLinks.cshtml
@@ -29,7 +29,7 @@
}
@if (catalogSettings.CompareProductsEnabled)
{
- <partial name="SidebarCompareProducts" />
+ <partial name="Partials/SidebarCompareProducts" />
}
@if (wishlistEnabled || shoppingCartEnabled)
{
@@ -37,9 +37,9 @@
{
if (wishlistEnabled)
{
- <partial name="SidebarWishlist" model="wishlistItems" />
+ <partial name="Partials/SidebarWishlist" model="wishlistItems" />
}
- <partial name="SidebarShoppingCart" model="shoppingCartItems" />
+ <partial name="Partials/SidebarShoppingCart" model="shoppingCartItems" />
}
else
{
diff --git a/src/Web/Grand.Web/Views/Shared/SidebarCompareProducts.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/SidebarCompareProducts.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/SidebarCompareProducts.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/SidebarCompareProducts.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/SidebarShoppingCart.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/SidebarShoppingCart.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/SidebarShoppingCart.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/SidebarShoppingCart.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/SidebarWishlist.cshtml b/src/Web/Grand.Web/Views/Shared/Partials/SidebarWishlist.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/SidebarWishlist.cshtml
rename to src/Web/Grand.Web/Views/Shared/Partials/SidebarWishlist.cshtml
diff --git a/src/Web/Grand.Web/Views/Shared/_Layout.cshtml b/src/Web/Grand.Web/Views/Shared/_Layout.cshtml
index 875505221..730c1aad0 100644
--- a/src/Web/Grand.Web/Views/Shared/_Layout.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/_Layout.cshtml
@@ -10,11 +10,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
@RenderSection("meta", required: false)
<head-custom>
- <partial name="Head" />
+ <partial name="Partials/Head" />
<vc:widget widget-zone="head_html_tag" additional-data="null"></vc:widget>
<canonical-urls>
@*Favicon - upload favicon.ico file to the wwwroot directory*@
- <partial name="_Favicons" />
+ <partial name="Partials/Favicons" />
@if (config.DisplayMiniProfilerInPublicStore)
{
<mini-profiler />
@@ -35,7 +35,7 @@
<div class="page-loader"></div>
</div>
<vc:get-coordinate></vc:get-coordinate>
- <partial name="Header" />
+ <partial name="Partials/Header" />
<b-container class="main-container">
@await Component.InvokeAsync("Widget", new { widgetZone = "content_before" })
@if (IsSectionDefined("Breadcrumb"))
@@ -47,8 +47,8 @@
<vc:voice-navigation></vc:voice-navigation>
</b-container>
@await Component.InvokeAsync("Footer")
- <partial name="_Cookie" />
- <partial name="_Notifications" />
+ <partial name="Partials/Cookie" />
+ <partial name="Partials/Notifications" />
</div>
@await Component.InvokeAsync("Widget", new { widgetZone = "body_end_html_tag_before" })
<resources asp-type="ScriptFooter" />
diff --git a/src/Web/Grand.Web/Views/Shared/_LayoutPopup.cshtml b/src/Web/Grand.Web/Views/Shared/_LayoutPopup.cshtml
index dc5a3b29e..7d54a6184 100644
--- a/src/Web/Grand.Web/Views/Shared/_LayoutPopup.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/_LayoutPopup.cshtml
@@ -6,10 +6,10 @@
<meta-description>
<meta-keywords>
<head-custom>
- <partial name="Head" />
+ <partial name="Partials/Head" />
<canonical-urls>
@*Favicon - upload favicon.ico file to the wwwroot directory*@
- <partial name="_Favicons" />
+ <partial name="Partials/Favicons" />
<vc:widget widget-zone="head_html_tag" additional-data="null"></vc:widget>
<resources asp-type="HeadLink" />
<resources asp-type="HeadScript" />
diff --git a/src/Web/Grand.Web/Views/ShoppingCart/Cart.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/Cart.cshtml
index e8e69ca96..4198e4488 100644
--- a/src/Web/Grand.Web/Views/ShoppingCart/Cart.cshtml
+++ b/src/Web/Grand.Web/Views/ShoppingCart/Cart.cshtml
@@ -9,6 +9,6 @@
<div class="page shopping-cart-page">
<h2 class="generalTitle text-center mt-3">@Loc["ShoppingCart"]</h2>
<div class="page-body">
- <partial name="CartSummary" model="Model" />
+ <partial name="Partials/CartSummary" model="Model" />
</div>
</div>
diff --git a/src/Web/Grand.Web/Views/ShoppingCart/CartSummary.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/Partials/CartSummary.cshtml
similarity index 98%
rename from src/Web/Grand.Web/Views/ShoppingCart/CartSummary.cshtml
rename to src/Web/Grand.Web/Views/ShoppingCart/Partials/CartSummary.cshtml
index 9c9d21b57..a5263a1a5 100644
--- a/src/Web/Grand.Web/Views/ShoppingCart/CartSummary.cshtml
+++ b/src/Web/Grand.Web/Views/ShoppingCart/Partials/CartSummary.cshtml
@@ -139,7 +139,7 @@
<div class="cart-options">
<div class="row">
<div v-if="vmorder.cart.IsEditable" class="col-12 col-md-6 checkoutAttributes">
- <partial name="_CheckoutAttributes" />
+ <partial name="Partials/CheckoutAttributes" />
</div>
<div class="selected-checkout-attributes col-sm-3 col-md-6 col-12 ml-auto justify-content-end text-right mt-3">
<div v-html="vmorder.cart.CheckoutAttributeInfo"></div>
@@ -153,16 +153,16 @@
</div>
<div class="col-lg-4 col-12 totals">
<div class="totals-inner">
- <partial name="OrderTotals" />
+ <partial name="Partials/OrderTotals" />
<div class="cart-collaterals">
<div class="deals">
@if (Model.GiftVoucherBox.Display)
{
- <partial name="_GiftVoucherBox" />
+ <partial name="Partials/GiftVoucherBox" />
}
@if (Model.DiscountBox.Display)
{
- <partial name="_DiscountBox" />
+ <partial name="Partials/DiscountBox" />
}
@await Component.InvokeAsync("Widget", new { widgetZone = "order_summary_content_deals" })
</div>
@@ -242,4 +242,4 @@
@await Component.InvokeAsync("Widget", new { widgetZone = "order_summary_content_after" })
</div>
-<partial name="_ModelScript" model="Model" />
\ No newline at end of file
+<partial name="Partials/ModelScript" model="Model" />
\ No newline at end of file
diff --git a/src/Web/Grand.Web/Views/ShoppingCart/_CheckoutAttributes.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/Partials/CheckoutAttributes.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/ShoppingCart/_CheckoutAttributes.cshtml
rename to src/Web/Grand.Web/Views/ShoppingCart/Partials/CheckoutAttributes.cshtml
diff --git a/src/Web/Grand.Web/Views/ShoppingCart/_DiscountBox.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/Partials/DiscountBox.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/ShoppingCart/_DiscountBox.cshtml
rename to src/Web/Grand.Web/Views/ShoppingCart/Partials/DiscountBox.cshtml
diff --git a/src/Web/Grand.Web/Views/ShoppingCart/_EstimateShippingResult.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/Partials/EstimateShippingResult.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/ShoppingCart/_EstimateShippingResult.cshtml
rename to src/Web/Grand.Web/Views/ShoppingCart/Partials/EstimateShippingResult.cshtml
diff --git a/src/Web/Grand.Web/Views/ShoppingCart/_GiftVoucherBox.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/Partials/GiftVoucherBox.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/ShoppingCart/_GiftVoucherBox.cshtml
rename to src/Web/Grand.Web/Views/ShoppingCart/Partials/GiftVoucherBox.cshtml
diff --git a/src/Web/Grand.Web/Views/ShoppingCart/_ModelScript.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/Partials/ModelScript.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/ShoppingCart/_ModelScript.cshtml
rename to src/Web/Grand.Web/Views/ShoppingCart/Partials/ModelScript.cshtml
diff --git a/src/Web/Grand.Web/Views/Vendor/ApplyVendor.cshtml b/src/Web/Grand.Web/Views/Vendor/ApplyVendor.cshtml
index a8f63c46a..70358edc5 100644
--- a/src/Web/Grand.Web/Views/Vendor/ApplyVendor.cshtml
+++ b/src/Web/Grand.Web/Views/Vendor/ApplyVendor.cshtml
@@ -62,7 +62,7 @@
@{
var dataDictAddress = new ViewDataDictionary(ViewData);
dataDictAddress.TemplateInfo.HtmlFieldPrefix = "Address";
- <partial name="_CreateOrUpdateVendorAddress" model="Model.Address" view-data="dataDictAddress" />
+ <partial name="Partials/CreateOrUpdateVendorAddress" model="Model.Address" view-data="dataDictAddress" />
}
@if (Model.TermsOfServiceEnabled)
{
diff --git a/src/Web/Grand.Web/Views/Vendor/Info.cshtml b/src/Web/Grand.Web/Views/Vendor/Info.cshtml
index 88ab681f2..711ec5d73 100644
--- a/src/Web/Grand.Web/Views/Vendor/Info.cshtml
+++ b/src/Web/Grand.Web/Views/Vendor/Info.cshtml
@@ -52,7 +52,7 @@
@{
var dataDictAddress = new ViewDataDictionary(ViewData);
dataDictAddress.TemplateInfo.HtmlFieldPrefix = "Address";
- <partial name="_CreateOrUpdateVendorAddress" model="Model.Address" view-data="dataDictAddress" />
+ <partial name="Partials/CreateOrUpdateVendorAddress" model="Model.Address" view-data="dataDictAddress" />
}
</div>
<div class="row">
diff --git a/src/Web/Grand.Web/Views/Shared/_CreateOrUpdateVendorAddress.cshtml b/src/Web/Grand.Web/Views/Vendor/Partials/CreateOrUpdateVendorAddress.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Shared/_CreateOrUpdateVendorAddress.cshtml
rename to src/Web/Grand.Web/Views/Vendor/Partials/CreateOrUpdateVendorAddress.cshtml
diff --git a/src/Web/Grand.Web/Views/Wishlist/Index.cshtml b/src/Web/Grand.Web/Views/Wishlist/Index.cshtml
index b205e129b..f90fc6a43 100644
--- a/src/Web/Grand.Web/Views/Wishlist/Index.cshtml
+++ b/src/Web/Grand.Web/Views/Wishlist/Index.cshtml
@@ -195,4 +195,4 @@
{
@await Component.InvokeAsync("EmailWishlist")
}
-<partial name="_ModelScript" model="Model" />
\ No newline at end of file
+<partial name="Partials/ModelScript" model="Model" />
\ No newline at end of file
diff --git a/src/Web/Grand.Web/Views/Wishlist/_ModelScript.cshtml b/src/Web/Grand.Web/Views/Wishlist/Partials/ModelScript.cshtml
similarity index 100%
rename from src/Web/Grand.Web/Views/Wishlist/_ModelScript.cshtml
rename to src/Web/Grand.Web/Views/Wishlist/Partials/ModelScript.cshtml