From d48adb741c5c30ba3f2d3c039a7e342b43add352 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 4 Jul 2018 10:42:21 -0400 Subject: Added blog drafts An unpublished post is not viewable unless you are logged in. The "Create record" field is disabled for unpublished posts, though this is only in JavaScript and the backend will not disallow creating records for unpublished posts if forced to. Unpublishing a post does not destroy records for that post. This only applies to blog posts, currently; streams and stream updates cannot be drafted. Unpublished posts still require titles and slugs. There is no autosaving functionality yet. refs #1 --- app/views/layouts/admin.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/layouts') diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml index 68bbd96..cb48c50 100644 --- a/app/views/layouts/admin.html.haml +++ b/app/views/layouts/admin.html.haml @@ -24,6 +24,7 @@ = link_to "Blogs", admin_blogs_url, class: "major-link" %ul.minors %li.minor= link_to "New blog", new_admin_blog_url + %li.minor= link_to "Drafts", drafts_admin_blogs_url %li{major_sidebar_attrs("streams")} = link_to "Streams", admin_streams_url, class: "major-link" %ul.minors -- cgit 1.4.1