Getting Orchard.Comment's site settings back on ~/admin/settings (includes Akismet settings)

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-25 11:21:56 -07:00
parent 3166c8fb2e
commit f5775630e9
2 changed files with 2 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ namespace Orchard.Comments.Drivers {
protected override DriverResult Editor(CommentSettingsPart part, dynamic shapeHelper) {
return ContentShape("Parts_Comments_SiteSettings",
() => shapeHelper.EditorTemplate(TemplateName: "Parts/Comments.SiteSettings", Model: part, Prefix: Prefix));
() => shapeHelper.EditorTemplate(TemplateName: "Parts/Comments.SiteSettings", Model: part.Record, Prefix: Prefix));
}
protected override DriverResult Editor(CommentSettingsPart part, IUpdateModel updater, dynamic shapeHelper) {

View File

@@ -8,6 +8,7 @@
<!-- widget and edit shapes just get default placement -->
<!-- edit "shapes" -->
<Place Parts_Comments_Enable="Primary:10"/>
<Place Parts_Comments_SiteSettings="Primary:10"/>
<Match DisplayType="Detail">
<Place Parts_Comments="Content:10" />
</Match>