diff options
| author | yti <yti@odoo.com> | 2014-09-04 08:38:56 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-09-08 12:40:44 +0200 |
| commit | 0b390d46624c21ff0d89088fc66d35211c68816c (patch) | |
| tree | ead45c353029c313cbfa928a52626bfcda3b9c6c /addons/web/static/src/xml | |
| parent | 390c71f39d792b319d2a41f27915c12d7f512bed (diff) | |
[IMP] account: better redirection warning messages.
[IMP] web: better display of redirection warnings ('Go to Config' or Cancel, like other
wizards in odoo)
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 93269fe588f..47fcca86c1d 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -49,7 +49,6 @@ <t t-name="CrashManager.warning"> <table cellspacing="0" cellpadding="0" border="0" class="oe_dialog_warning"> <tr> - <td class="oe_dialog_icon"><img t-att-src='_s + "/web/static/src/img/warning.png"'/></td> <td> <p> <t t-js="d"> @@ -1368,6 +1367,7 @@ </div> </t> <t t-name="WidgetButton"> + <span t-if="widget.pre_text"> <t t-esc="widget.pre_text"/> </span> <button type="button" t-att-class="widget.is_stat_button ? 'oe_stat_button btn btn-default' : 'oe_button oe_form_button ' + (widget.node.attrs.class ? widget.node.attrs.class : '')" t-att-style="widget.node.attrs.style" t-att-tabindex="widget.node.attrs.tabindex" @@ -1378,6 +1378,7 @@ <span t-if="widget.string and !widget.is_stat_button"><t t-esc="widget.string"/></span> <div t-if="widget.string and widget.is_stat_button"><t t-esc="widget.string"/></div> </button> + <span t-if="widget.post_text"> <t t-esc="widget.post_text"/> </span> </t> <t t-name="WidgetButton.tooltip" t-extend="WidgetLabel.tooltip"> <t t-jquery="div.oe_tooltip_string" t-operation="replace"> |
