mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing TitlePart shape names
--HG-- branch : 1.x
This commit is contained in:
@@ -18,11 +18,11 @@ namespace Orchard.Core.Title.Drivers {
|
||||
protected override DriverResult Display(TitlePart part, string displayType, dynamic shapeHelper) {
|
||||
return Combined(
|
||||
ContentShape("Parts_Title",
|
||||
() => shapeHelper.Parts_RoutableTitle(ContentPart: part, Title: part.Title)),
|
||||
() => shapeHelper.Parts_Title(ContentPart: part, Title: part.Title)),
|
||||
ContentShape("Parts_Title_Summary",
|
||||
() => shapeHelper.Parts_RoutableTitle_Summary(ContentPart: part, Title: part.Title)),
|
||||
() => shapeHelper.Parts_Title_Summary(ContentPart: part, Title: part.Title)),
|
||||
ContentShape("Parts_Title_SummaryAdmin",
|
||||
() => shapeHelper.Parts_RoutableTitle_SummaryAdmin(ContentPart: part, Title: part.Title))
|
||||
() => shapeHelper.Parts_Title_SummaryAdmin(ContentPart: part, Title: part.Title))
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<Placement>
|
||||
<!-- available display shapes -->
|
||||
<!--
|
||||
Parts_RoutableTitle
|
||||
Parts_RoutableTitle_Summary
|
||||
Parts_RoutableTitle_SummaryAdmin
|
||||
Parts_Title
|
||||
Parts_Title_Summary
|
||||
Parts_Title_SummaryAdmin
|
||||
-->
|
||||
<Place Parts_Title_Edit="Content:before.5"/>
|
||||
<Match DisplayType="Detail">
|
||||
|
Reference in New Issue
Block a user