mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Theming items
Changing the extension to hide several old files Adjusting BuildDisplayModel family to return shape for display --HG-- branch : theming
This commit is contained in:
@@ -246,7 +246,7 @@ namespace Orchard.Core.Contents.Controllers {
|
||||
|
||||
Services.Notifier.Information(string.IsNullOrWhiteSpace(model.TypeDefinition.DisplayName)
|
||||
? T("Your content has been created.")
|
||||
: T("Your {0} has been created.", model.TypeDefinition.DisplayName));
|
||||
: T("Your {0} has been created.", contentItem.TypeDefinition.DisplayName));
|
||||
return RedirectToAction("Edit", new RouteValueDictionary { { "Id", contentItem.Id } });
|
||||
}
|
||||
|
||||
@@ -286,7 +286,7 @@ namespace Orchard.Core.Contents.Controllers {
|
||||
|
||||
Services.Notifier.Information(string.IsNullOrWhiteSpace(model.TypeDefinition.DisplayName)
|
||||
? T("Your content has been saved.")
|
||||
: T("Your {0} has been saved.", model.TypeDefinition.DisplayName));
|
||||
: T("Your {0} has been saved.", contentItem.TypeDefinition.DisplayName));
|
||||
return RedirectToAction("Edit", new RouteValueDictionary { { "Id", contentItem.Id } });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user