mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Make "Container" and "Owner" the last parts to show on the editor screen
--HG-- branch : dev
This commit is contained in:
parent
f97351ee59
commit
b621af1a8a
@ -79,7 +79,7 @@ namespace Orchard.Core.Common.Drivers {
|
||||
}
|
||||
}
|
||||
|
||||
return ContentPartTemplate(model, "Parts/Common.Owner", TemplatePrefix).Location("primary", "10");
|
||||
return ContentPartTemplate(model, "Parts/Common.Owner", TemplatePrefix).Location("primary", "20");
|
||||
}
|
||||
|
||||
DriverResult ContainerEditor(CommonAspect part, IUpdateModel updater) {
|
||||
@ -106,7 +106,7 @@ namespace Orchard.Core.Common.Drivers {
|
||||
}
|
||||
}
|
||||
}
|
||||
return ContentPartTemplate(model, "Parts/Common.Container", TemplatePrefix).Location("primary", "10.1");
|
||||
return ContentPartTemplate(model, "Parts/Common.Container", TemplatePrefix).Location("primary", "20.1");
|
||||
}
|
||||
}
|
||||
}
|
@ -35,12 +35,12 @@ namespace Orchard.Comments.Drivers {
|
||||
}
|
||||
|
||||
protected override DriverResult Editor(HasComments part) {
|
||||
return ContentPartTemplate(part, "Parts/Comments.HasComments").Location("primary", "99");
|
||||
return ContentPartTemplate(part, "Parts/Comments.HasComments").Location("primary", "10");
|
||||
}
|
||||
|
||||
protected override DriverResult Editor(HasComments part, IUpdateModel updater) {
|
||||
updater.TryUpdateModel(part, Prefix, null, null);
|
||||
return ContentPartTemplate(part, "Parts/Comments.HasComments").Location("primary", "99");
|
||||
return ContentPartTemplate(part, "Parts/Comments.HasComments").Location("primary", "10");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user