summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-03-17 18:03:00 +0100
committerChristophe Simonis <chs@odoo.com>2017-03-17 18:03:00 +0100
commitc8f01e3b62fb11baec4623d841960baac2284dd8 (patch)
treec6465ccd97c958e3022cd623cf61a095337979b5 /addons/web_editor/static/src/xml
parente3eefa093588f4ddfd6fb2a18645a31e1d1224aa (diff)
parentb2fa9f2ad1dac059c365e854cc1078b45eccdd85 (diff)
[MERGE] forward port branch saas-14 up to b2fa9f2ad1d
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 4035752cea5..5c85996e890 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>