summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-03-17 17:06:32 +0100
committerChristophe Simonis <chs@odoo.com>2017-03-17 17:06:32 +0100
commitaefdf96c25973778f3a00c06b107c30e440b0d94 (patch)
treeab2d44581d9e61dd51801167e6ff17f9e276580c /addons/web_editor/static/src/xml
parent22e7b6befb77005d1b1945977191ca11739f38fa (diff)
parentaf64780a2d8df2ec5ec91bab4bc0cc0a7f2c050a (diff)
[MERGE] forward port branch 9.0 up to af64780a2d8
Diffstat (limited to 'addons/web_editor/static/src/xml')
-rw-r--r--addons/web_editor/static/src/xml/backend.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/web_editor/static/src/xml/backend.xml b/addons/web_editor/static/src/xml/backend.xml
index 957f38dac3c..c5b668cc01a 100644
--- a/addons/web_editor/static/src/xml/backend.xml
+++ b/addons/web_editor/static/src/xml/backend.xml
@@ -38,11 +38,11 @@
-webkit-border-radius: 3px;
border-radius: 3px;
background: white;">
+ <option value="en_US" t-att-selected="'en_US' == widget.lang ? 'selected' : null">
+ <t t-if="!widget.get('effective_readonly')">English (edit mode)</t>
+ <t t-if="widget.get('effective_readonly')">English</t>
+ </option>
<t t-foreach="widget.languages" t-as="lang">
- <option value="en_US" t-att-selected="'en_US' == widget.lang ? 'selected' : null">
- <t t-if="!widget.get('effective_readonly')">English (edit mode)</t>
- <t t-if="widget.get('effective_readonly')">English</t>
- </option>
<option t-att-value="lang.code" t-att-selected="lang.code == widget.lang ? 'selected' : null"><t t-esc="lang.name"/></option>
</t>
</select>