[FIX] mail: remove no more needed root div node in moderation dialogs
task-2310610 closes odoo/odoo#57448 X-original-commit: 76c2eb1590b360a874ef5ccb0df7edf0f1b84bab Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="mail.ModerationBanDialog" owl="1">
|
||||
<div><!-- TODO FIXME necessary div for useRef, can be removed at next owl update, see https://github.com/odoo/owl/issues/638 -->
|
||||
<Dialog contentClass="'o_ModerationBanDialog'" title="CONFIRMATION" size="'medium'" t-ref="dialog">
|
||||
<t t-if="messages.length === 1">
|
||||
<p>You are going to ban the following user:</p>
|
||||
@@ -20,6 +19,5 @@
|
||||
<button class="o-cancel btn btn-secondary" t-on-click="_onClickCancel">Cancel</button>
|
||||
</t>
|
||||
</Dialog>
|
||||
</div>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
-2
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="mail.ModerationDiscardDialog" owl="1">
|
||||
<div><!-- TODO FIXME necessary div for useRef, can be removed at next owl update, see https://github.com/odoo/owl/issues/638 -->
|
||||
<Dialog contentClass="'o_ModerationDiscardDialog'" title="CONFIRMATION" size="'medium'" t-ref="dialog">
|
||||
<p t-esc="getText()"/>
|
||||
<p>Do you confirm the action?</p>
|
||||
@@ -10,6 +9,5 @@
|
||||
<button class="o-cancel btn btn-secondary" t-on-click="_onClickCancel">Cancel</button>
|
||||
</t>
|
||||
</Dialog>
|
||||
</div>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
-2
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="mail.ModerationRejectDialog" owl="1">
|
||||
<div><!-- TODO FIXME necessary div for useRef, can be removed at next owl update, see https://github.com/odoo/owl/issues/638 -->
|
||||
<Dialog contentClass="'o_ModerationRejectDialog'" title="SEND_EXPLANATION_TO_AUTHOR" size="'medium'" t-ref="dialog">
|
||||
<input class="o_ModerationRejectDialog_title form-control" type="text" placeholder="Subject" autofocus="autofocus" t-model="state.title"/>
|
||||
<textarea class="o_ModerationRejectDialog_comment form-control mt16" placeholder="Mail Body" t-model="state.comment"/>
|
||||
@@ -10,6 +9,5 @@
|
||||
<button class="o-cancel btn btn-secondary" t-on-click="_onClickCancel">Cancel</button>
|
||||
</t>
|
||||
</Dialog>
|
||||
</div>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user