From 3101e7b263ef43de3c2311c6530cdaa11f59c70c Mon Sep 17 00:00:00 2001 From: Albert Hansrisuk Date: Wed, 11 Dec 2024 14:31:06 -0500 Subject: [PATCH 1/6] disable publish button by default --- lib/drawers/publish-page.vue | 981 ++++++++++++++++++----------------- 1 file changed, 505 insertions(+), 476 deletions(-) diff --git a/lib/drawers/publish-page.vue b/lib/drawers/publish-page.vue index 8fb0478dd..9218cda90 100644 --- a/lib/drawers/publish-page.vue +++ b/lib/drawers/publish-page.vue @@ -8,32 +8,49 @@ View public page - Unschedule - Unpublish - Unarchive + Unschedule + Unpublish + Unarchive
- {{ actionMessage }} + {{ actionMessage }}
- - + +
Time Zone: {{ timezone }} - {{ actionMessage }} - {{ actionMessage }} - Layout must be published first - Layout must be published first (by an admin) - Please fix errors before publishing - Please review warnings before publishing + {{ actionMessage + }} + {{ actionMessage }} + Layout must be + published first + Layout must be published first (by an + admin) + Please fix errors before + publishing + Please review warnings before + publishing
- +
- Designate a custom URL for this page. This should only be used for special cases, such as index pages and static pages. - + Designate a custom URL for this page. This should only be used for special + cases, such as index pages and static pages. + Save
@@ -41,520 +58,532 @@
- Manually update the page title that appears in the Clay Menu. Will be overwritten when saving components that set the title. + Manually update the page title that appears in the Clay Menu. Will be + overwritten when saving components that set the title. - Save + Save
- You may archive any page that isn't published (or scheduled to be published). Archived pages will not show up in the Clay Menu unless you explicitly filter for them. - Archive + You may archive any page that isn't published (or scheduled to be published). Archived + pages will not show up in the Clay Menu unless you explicitly filter for them. + Archive - - You may override all changes by restoring to the most recently published version of this page. Warning: this action cannot be undone, you will lose all changes applied to this post since the last publish. - Restore + + You may override all changes by restoring to the most recently published version of + this page. Warning: this action cannot be undone, you will lose all changes applied to this + post since the last publish. + Restore