mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
22 lines
654 B
XML
22 lines
654 B
XML
<?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>
|