mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 21:13:35 +08:00
Changing parts shapes to use the "Parts_" prefix convention.
Similart to content items now (Items_*) and what fields will use (Fields_*) --HG-- branch : dev
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Orchard.Core.Common.Drivers {
|
||||
public IOrchardServices Services { get; set; }
|
||||
|
||||
protected override DriverResult Display(CommonPart part, string displayType, dynamic shapeHelper) {
|
||||
var metadata = shapeHelper.Common_Metadata(ContentPart: part);
|
||||
var metadata = shapeHelper.Parts_Common_Metadata(ContentPart: part);
|
||||
if (!string.IsNullOrWhiteSpace(displayType))
|
||||
metadata.Metadata.Type = string.Format("{0}.{1}", metadata.Metadata.Type, displayType);
|
||||
var location = part.GetLocation(displayType);
|
||||
|
Reference in New Issue
Block a user