From 7560f29da3d0de79be0e85e55578f88b0127d200 Mon Sep 17 00:00:00 2001 From: Mark Appleton Date: Tue, 8 Jul 2025 10:18:11 +0100 Subject: [PATCH] #639 moving editorial details to bottom of page --- .../Views/Page/PageDetailPartial.cshtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/PageDetailPartial.cshtml b/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/PageDetailPartial.cshtml index 20cd8dd5..8694893d 100644 --- a/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/PageDetailPartial.cshtml +++ b/src/cloudscribe.SimpleContent.CompiledViews.Bootstrap5/Views/Page/PageDetailPartial.cshtml @@ -33,7 +33,7 @@ } - + @if (!Model.CurrentPage.ShowHeading) { @@ -77,6 +77,7 @@ @await Component.InvokeAsync("Navigation", new { viewName = "ChildTree", filterName = NamedNavigationFilters.ChildTree, startingNodeKey = "" }) } + @if (Model.CurrentPage != null && Model.CanEdit && !Model.ShowingDeleted && !Model.ShowingDraft && !Model.HistoryId.HasValue && Model.CurrentPage.IsPublished) {