[15.0][MIG] web_dialog_size: migration to 15.0

This commit is contained in:
Mantux11
2022-03-18 15:04:16 +00:00
parent c6f108250f
commit e4c0d27709
8 changed files with 169 additions and 23 deletions

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<templates>
<t t-name="web_dialog_size.ExpandButton" owl="1">
<button
t-if="props.getsize() == 'dialog_full_screen'"
type="button"
class="close dialog_button_extend"
t-on-click="dialog_button_restore"
>
<i class="fa fa-compress" />
</button>
<button
t-if="props.getsize() != 'dialog_full_screen'"
type="button"
class="close dialog_button_restore"
t-on-click="dialog_button_extend"
>
<i class="fa fa-expand" />
</button>
</t>
</templates>