mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Getting Orchard.Comment's site settings back on ~/admin/settings (includes Akismet settings)
--HG-- branch : dev
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user