mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-19 17:51:45 +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:
@@ -45,7 +45,7 @@ namespace Orchard.Core.Routable.Drivers {
|
||||
}
|
||||
|
||||
protected override DriverResult Display(RoutePart part, string displayType, dynamic shapeHelper) {
|
||||
var routePart = shapeHelper.Routable_RoutePart(ContentPart: part, Title: part.Title);
|
||||
var routePart = shapeHelper.Parts_Routable_RoutePart(ContentPart: part, Title: part.Title);
|
||||
if (!string.IsNullOrWhiteSpace(displayType))
|
||||
routePart.Metadata.Type = string.Format("{0}.{1}", routePart.Metadata.Type, displayType);
|
||||
var location = part.GetLocation(displayType, "Header", "5");
|
||||
|
||||
Reference in New Issue
Block a user