mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] web_save_discard_button module
This commit is contained in:
17
web_save_discard_button/static/src/xml/template.xml
Normal file
17
web_save_discard_button/static/src/xml/template.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!-- Save and Discard Button-->
|
||||
<templates>
|
||||
<t
|
||||
t-name="web_save_discard_button.FormStatusIndicator"
|
||||
t-inherit="web.FormStatusIndicator"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath expr="//button/i[(hasclass('fa-cloud-upload'))]" position="replace">
|
||||
<span class="save_button">Save</span>
|
||||
</xpath>
|
||||
<xpath expr="//button/i[(hasclass('fa-undo'))]" position="replace">
|
||||
<span class="discard_button">Discard</span>
|
||||
</xpath>
|
||||
</t>
|
||||
</templates>
|
||||
Reference in New Issue
Block a user