From 320ce0e94c3c0ffec5e52038c6a63413068284a2 Mon Sep 17 00:00:00 2001 From: skewed Date: Thu, 3 Dec 2009 06:24:48 +0000 Subject: [PATCH] Small update to blog post display in the admin --HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043036 --- .../Views/Shared/BlogPostPreviewForAdmin.ascx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Orchard.Web/Packages/Orchard.Blogs/Views/Shared/BlogPostPreviewForAdmin.ascx b/src/Orchard.Web/Packages/Orchard.Blogs/Views/Shared/BlogPostPreviewForAdmin.ascx index 521b52273..a399cfd24 100644 --- a/src/Orchard.Web/Packages/Orchard.Blogs/Views/Shared/BlogPostPreviewForAdmin.ascx +++ b/src/Orchard.Web/Packages/Orchard.Blogs/Views/Shared/BlogPostPreviewForAdmin.ascx @@ -3,17 +3,17 @@ <%@ Import Namespace="Orchard.Blogs.Extensions"%> <%@ Import Namespace="Orchard.Core.Common.Models"%> <%@ Import Namespace="Orchard.Blogs.Models"%> -

<%=Html.Encode(Model.As().Title) %>

+

<%=Html.Encode(Model.Title) %>

<%=Html.Published() %>
<%=Model.Body ?? "

there's no content for this blog post

" %>

<%-- todo: (heskew) make into a ul --%> - Edit - | View<% - if (Model.Published == null) { // todo: (heskew) be smart about this and maybe have other contextual actions %> - | Publish + Edit + | View<% + if (Model.Published == null) { // todo: (heskew) be smart about this and maybe have other contextual actions - including view/preview for view up there ^^ %> + | Publish Now <% } %> - Delete Blog Post + Delete Post

\ No newline at end of file