summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorDhawal Limbuwala <dli@odoo.com>2017-05-18 12:29:55 +0530
committerYannick Tivisse <yti@odoo.com>2017-10-19 10:10:06 +0200
commit3ad9ee70554ff0f334b39656ef2510531e0dbc8d (patch)
tree82ecc4896c3054953f0a4d90ae91a801b4bb9d8d /addons/web/static/src/xml
parent39335d4569943278e410901ef53572f617cc9397 (diff)
[IMP] web: Improve alert banner to update translations
Purpose ======= Simplify / reduce the warning message when we update a record in multi-languages Specification ============= 1/ Make the translation banner little bit lighter in design 2/ Make it still visible when coming back from breadcrumb
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 7283472008b..e1f955370d3 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1249,7 +1249,7 @@
</t>
<t t-name="notification-box">
- <div t-attf-class="o_notification_box alert alert-dismissible alert-{{type}}" role="alert">
+ <div t-attf-class="o_notification_box mb0 alert alert-dismissible alert-{{type}}" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true" class="fa fa-times"></span>
</button>
@@ -1257,12 +1257,12 @@
</t>
<t t-name="translation-alert">
- <t t-foreach="fields" t-as="field">
- <div>
- You have updated <strong><t t-esc="field.string"/></strong> (<t t-esc="lang"/>).
- <a class="oe_field_translate" t-att-name="field.name" href="#">Update translations</a>
- </div>
- </t>
+ <div>
+ Please update translations of :
+ <t t-foreach="fields" t-as="field">
+ <strong><a class="oe_field_translate" t-att-name="field.name" href="#"><t t-esc="field.string"/><t t-if="!field_last">, </t></a></strong>
+ </t>
+ </div>
</t>
<t t-name="UserMenu">