Fixing TitlePart shape names

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-09-21 14:04:30 -07:00
parent d6d7946736
commit 0617550b74
2 changed files with 6 additions and 6 deletions

View File

@@ -18,11 +18,11 @@ namespace Orchard.Core.Title.Drivers {
protected override DriverResult Display(TitlePart part, string displayType, dynamic shapeHelper) { protected override DriverResult Display(TitlePart part, string displayType, dynamic shapeHelper) {
return Combined( return Combined(
ContentShape("Parts_Title", ContentShape("Parts_Title",
() => shapeHelper.Parts_RoutableTitle(ContentPart: part, Title: part.Title)), () => shapeHelper.Parts_Title(ContentPart: part, Title: part.Title)),
ContentShape("Parts_Title_Summary", 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", ContentShape("Parts_Title_SummaryAdmin",
() => shapeHelper.Parts_RoutableTitle_SummaryAdmin(ContentPart: part, Title: part.Title)) () => shapeHelper.Parts_Title_SummaryAdmin(ContentPart: part, Title: part.Title))
); );
} }

View File

@@ -1,9 +1,9 @@
<Placement> <Placement>
<!-- available display shapes --> <!-- available display shapes -->
<!-- <!--
Parts_RoutableTitle Parts_Title
Parts_RoutableTitle_Summary Parts_Title_Summary
Parts_RoutableTitle_SummaryAdmin Parts_Title_SummaryAdmin
--> -->
<Place Parts_Title_Edit="Content:before.5"/> <Place Parts_Title_Edit="Content:before.5"/>
<Match DisplayType="Detail"> <Match DisplayType="Detail">