mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
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:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user