Refactoring some shape naming conventions

Items_Content* shapes types now Content*
Items_Widget* shape types now Widget*
*_Editor shapes now *_Edit

--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-10-15 11:55:48 -07:00
parent 4fa953c150
commit c308aa1fbd
9 changed files with 183 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ namespace Orchard.Core.PublishLater.Drivers {
protected override DriverResult Editor(PublishLaterPart part, dynamic shapeHelper) {
var model = BuildEditorViewModel(part);
return ContentShape("Parts_PublishLater_Editor",
return ContentShape("Parts_PublishLater_Edit",
() => shapeHelper.EditorTemplate(TemplateName: TemplateName, Model: model, Prefix: Prefix));
}
protected override DriverResult Editor(PublishLaterPart part, IUpdateModel updater, dynamic shapeHelper) {
@@ -65,7 +65,7 @@ namespace Orchard.Core.PublishLater.Drivers {
//Services.Notifier.Information(T("{0} draft has been saved!", model.ContentItem.TypeDefinition.DisplayName));
break;
}
return ContentShape("Parts_PublishLater_Editor",
return ContentShape("Parts_PublishLater_Edit",
() => shapeHelper.EditorTemplate(TemplateName: TemplateName, Model: model, Prefix: Prefix));
}