summaryrefslogtreecommitdiff
path: root/addons/web_etherpad/static/src/xml
diff options
context:
space:
mode:
authorTejas Tank <tta@openerp.com>2012-04-19 18:59:16 +0530
committerTejas Tank <tta@openerp.com>2012-04-19 18:59:16 +0530
commit2c780efd12a47d440e7b9a4ecae7da0cf9565390 (patch)
tree62150863f19ae3a90827cddc6d24d5c5103a604b /addons/web_etherpad/static/src/xml
parent01a31f08e07e579cb5b07c92a3c2c722ec7a9f5d (diff)
Web Etherpad Integration
bzr revid: tta@openerp.com-20120419132916-yzrdnz2y8gus2wlw
Diffstat (limited to 'addons/web_etherpad/static/src/xml')
-rwxr-xr-xaddons/web_etherpad/static/src/xml/etherpad.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/addons/web_etherpad/static/src/xml/etherpad.xml b/addons/web_etherpad/static/src/xml/etherpad.xml
new file mode 100755
index 00000000000..64c2e2dc6a0
--- /dev/null
+++ b/addons/web_etherpad/static/src/xml/etherpad.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- vim:fdl=1:
+-->
+<templates id="template" xml:space="preserve">
+
+
+<t t-name="FieldEtherpad">
+ <t t-if="!widget.get('effective_readonly')">
+ <div class="oe_form_field_text">
+ <textarea rows="6"
+ t-att-name="widget.name"
+ class="field_text"
+ t-att-tabindex="widget.node.attrs.tabindex"
+ t-att-autofocus="widget.node.attrs.autofocus"
+ ></textarea><img class="oe_field_translate oe_input_icon" t-if="widget.field.translate" t-att-src='_s + "/web/static/src/img/icons/terp-translate.png"' width="16" height="16" border="0"/>
+ <div t-attf-class="etherpad_field_#{widget.name}" ></div>
+ </div>
+ </t>
+</t>
+
+</templates>