mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 17:32:44 +08:00
Fixing some widget display parts
--HG-- branch : dev
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Orchard.Blogs.Drivers {
|
||||
}
|
||||
|
||||
protected override DriverResult Editor(BlogArchivesPart part, dynamic shapeHelper) {
|
||||
return ContentShape("Parts_Blogs_BlogArchives_Editor",
|
||||
return ContentShape("Parts_Blogs_BlogArchives_Edit",
|
||||
() => shapeHelper.EditorTemplate(TemplateName: "Parts/Blogs.BlogArchives", Model: part, Prefix: Prefix));
|
||||
}
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
<!-- widget and edit shapes just get default placement -->
|
||||
<!-- edit "shapes" -->
|
||||
<Place Parts_Blogs_Blog_Fields="Primary:2"/>
|
||||
<Place Parts_Blogs_BlogArchives_Editor="Primary:5"/>
|
||||
<Place Parts_Blogs_RecentBlogPosts_Editor="Primary:5"/>
|
||||
<Place Parts_Blogs_BlogArchives_Edit="Primary:5"/>
|
||||
<Place Parts_Blogs_RecentBlogPosts_Edit="Primary:5"/>
|
||||
<!-- widgets -->
|
||||
<Place Parts_Blogs_BlogArchives="Content"/>
|
||||
<Place Parts_Blogs_RecentBlogPosts="Content"/>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
@Display(Model.Primary)
|
||||
</div>
|
||||
<div class="secondary">
|
||||
@Display(Model.secondary)
|
||||
@Display(Model.Secondary)
|
||||
<fieldset>
|
||||
<input class="button primaryAction" type="submit" name="submit.Save" value="@T("Save")"/>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user