Getting Blogs onto the new UI composotion model

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-14 11:15:22 -07:00
parent 5eefacfb10
commit dc5cc339a7
48 changed files with 216 additions and 243 deletions

View File

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