summaryrefslogtreecommitdiff
path: root/addons/pad/static/src/xml/pad.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/pad/static/src/xml/pad.xml')
-rw-r--r--addons/pad/static/src/xml/pad.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/pad/static/src/xml/pad.xml b/addons/pad/static/src/xml/pad.xml
new file mode 100644
index 00000000000..c17464e6646
--- /dev/null
+++ b/addons/pad/static/src/xml/pad.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vim:fdl=1:
+-->
+<templates id="template" xml:space="preserve">
+ <t t-extend="FormView.sidebar.attachments">
+ <t t-jquery="div.oe-binary-file-set" t-operation="append">
+ <button class="button pad" type="button">
+ <img src="/web/static/src/img/throbber.gif" width="16" height="16" style="display: none"/>
+ <span>Add Pad</span>
+ </button>
+ </t>
+ </t>
+</templates>