From bc2c5b00c60d20162bc7ca4c91abb9650989174d Mon Sep 17 00:00:00 2001 From: sbwalker Date: Fri, 21 Mar 2025 08:19:09 -0400 Subject: [PATCH] fix page order for new Privacy and Terms pages --- .../Infrastructure/SiteTemplates/AdminSiteTemplate.cs | 4 +++- Oqtane.Server/Infrastructure/UpgradeManager.cs | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Oqtane.Server/Infrastructure/SiteTemplates/AdminSiteTemplate.cs b/Oqtane.Server/Infrastructure/SiteTemplates/AdminSiteTemplate.cs index 7727e9aa..1fca2267 100644 --- a/Oqtane.Server/Infrastructure/SiteTemplates/AdminSiteTemplate.cs +++ b/Oqtane.Server/Infrastructure/SiteTemplates/AdminSiteTemplate.cs @@ -182,6 +182,7 @@ namespace Oqtane.Infrastructure.SiteTemplates Name = "Privacy", Parent = "", Path = "privacy", + Order = seed + 11, Icon = Icons.Eye, IsNavigation = false, IsPersonalizable = false, @@ -212,6 +213,7 @@ namespace Oqtane.Infrastructure.SiteTemplates Name = "Terms", Parent = "", Path = "terms", + Order = seed + 13, Icon = Icons.List, IsNavigation = false, IsPersonalizable = false, @@ -242,7 +244,7 @@ namespace Oqtane.Infrastructure.SiteTemplates Name = "Not Found", Parent = "", Path = "404", - Order = seed + 11, + Order = seed + 15, Icon = Icons.X, IsNavigation = false, IsPersonalizable = false, diff --git a/Oqtane.Server/Infrastructure/UpgradeManager.cs b/Oqtane.Server/Infrastructure/UpgradeManager.cs index 409ab59c..421be775 100644 --- a/Oqtane.Server/Infrastructure/UpgradeManager.cs +++ b/Oqtane.Server/Infrastructure/UpgradeManager.cs @@ -473,6 +473,7 @@ namespace Oqtane.Infrastructure Name = "Privacy", Parent = "", Path = "privacy", + Order = 1011, Icon = Icons.Eye, IsNavigation = false, IsPersonalizable = false, @@ -502,6 +503,7 @@ namespace Oqtane.Infrastructure Name = "Terms", Parent = "", Path = "terms", + Order = 1013, Icon = Icons.List, IsNavigation = false, IsPersonalizable = false,