summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/translator.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/xml/translator.xml')
-rw-r--r--addons/web_editor/static/src/xml/translator.xml13
1 files changed, 5 insertions, 8 deletions
diff --git a/addons/web_editor/static/src/xml/translator.xml b/addons/web_editor/static/src/xml/translator.xml
index 244fc67ec4a..c3aad20471c 100644
--- a/addons/web_editor/static/src/xml/translator.xml
+++ b/addons/web_editor/static/src/xml/translator.xml
@@ -1,14 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
-<t t-name="web_editor.translator">
- <div id="web_editor-top-edit" class="o_css_editor o_translate navbar navbar-inverse navbar-fixed-top hidden-xs">
- <form class="navbar-form text-muted">
- <button type="button" data-action="save" class="btn btn-primary btn-xs">Save</button>
- <span>or</span>
- <a href="#" data-action="cancel" class="btn btn-link btn-xs">Discard</a>
- </form>
- </div>
+<t t-name="web_editor.translator" t-extend="web_editor.editorbar">
+ <t t-jquery="#web_editor-top-edit">
+ $(this).addClass('o_translate');
+ </t>
+ <t t-jquery="#web_editor-toolbars" t-operation="replace"/>
</t>
<t t-name="web_editor.translator.attributes">