mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-19 17:51:45 +08:00
Comments: Fixing placement so that default editor buttons are not rendered when editing a Comment, fixes #7927
This commit is contained in:
@@ -14,8 +14,12 @@
|
||||
<Place Parts_Comment_Edit="Content:10"/>
|
||||
<Place Parts_Comment_AdminEdit="Content:10"/>
|
||||
|
||||
<!-- Hide default content editor buttons when editing a Comment on the Admin and the front-end,
|
||||
because both have their own form buttons. -->
|
||||
<Match ContentType="Comment">
|
||||
<Place Content_SaveButton="-"/><!--Show default save button only on admin-->
|
||||
<Place Content_SaveButton="-"
|
||||
Content_PublishButton="-"
|
||||
Content_CancelButton="-" />
|
||||
</Match>
|
||||
|
||||
<Match ContentPart="CommentsPart">
|
||||
|
||||
Reference in New Issue
Block a user