Some work towards content localization and some bugfixes* in the same proj

* added summary template for a content item and fixed the display of "Depends on:" on features in the feature management UI when the feature has no dependencies

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-07-09 14:14:17 -07:00
parent b86d3e20ed
commit c4e83c6fd5
16 changed files with 146 additions and 49 deletions

View File

@@ -162,7 +162,7 @@ namespace Orchard.Core.Contents.Controllers {
return RedirectToAction("List");
}
private void PrepareEditorViewModel(ContentItemViewModel itemViewModel) {
private static void PrepareEditorViewModel(ContentItemViewModel itemViewModel) {
if (string.IsNullOrEmpty(itemViewModel.TemplateName)) {
itemViewModel.TemplateName = "Items/Contents.Item";
}