From 5345d9ae812c02e97ead7f314e841bc8cc5d8163 Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Wed, 14 Jul 2010 22:49:50 -0700 Subject: [PATCH] Showing blog post draft count in the admin blog summary --HG-- branch : dev --- src/Orchard.Web/Modules/Orchard.Blogs/Views/BlogAdmin/List.ascx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.Blogs/Views/BlogAdmin/List.ascx b/src/Orchard.Web/Modules/Orchard.Blogs/Views/BlogAdmin/List.ascx index 1ee490df0..d42338709 100644 --- a/src/Orchard.Web/Modules/Orchard.Blogs/Views/BlogAdmin/List.ascx +++ b/src/Orchard.Web/Modules/Orchard.Blogs/Views/BlogAdmin/List.ascx @@ -12,7 +12,7 @@ if (Model.Entries.Count() > 0) { %> int totalPostCount = entry.TotalPostCount; var linkText = T.Plural("1 post", "{0} posts", totalPostCount).ToString(); - if (draftCount==0){ + if (draftCount > 0){ linkText = linkText + " (" + T.Plural("1 draft", "{0} drafts", draftCount).ToString() + ")"; }