Getting Orchard.Blogs on the new UI composition model (for display)

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-15 14:40:35 -07:00
parent 4fa953c150
commit 262f4a4559
19 changed files with 143 additions and 104 deletions

View File

@@ -1,9 +1,7 @@
@{
IEnumerable<object> blogPosts = Model.BlogPosts;
IEnumerable<object> blogPosts = Model.ContentItems;
}
@Display(ContentItems)
@Display(Model.ContentItems)
@if (blogPosts == null || blogPosts.Count() < 1) {
<p>@T("There are no posts for this blog.")</p>
}
hi
}