diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-02-01 13:29:26 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-02-01 13:29:26 +0100 |
| commit | 0839b0e4eeed05c3f6d69cd5bebec580876ca2bf (patch) | |
| tree | 8db58cc81803f2270835abc1e1bf2d31f9af40b5 /addons/web/static/src/xml/base.xml | |
| parent | a6be92b62b27e2f775ffd41f6971ff16df8b15e0 (diff) | |
[FIX] QWeb template inheritance done right
bzr revid: fme@openerp.com-20120201122926-poh3q2157ra9tzjd
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 550f930e3d1..8a8e39e0b7e 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -680,10 +680,9 @@ <t t-jquery="td.oe-actions"> this.removeAttr('t-if'); - var $title = $(document.createElement('h3')).addClass('oe_view_title'); - $title.append($(document.createElement('t')).attr( - 't-esc', 'fields_view.arch.attrs.string')); - this.prepend($title); + </t> + <t t-jquery="td.oe-actions" t-operation="prepend"> + <h3 class="oe_view_title"><t t-esc="fields_view.arch.attrs.string"/></h3> </t> </t> <th t-name="Listview.navigation.button" t-if="!no_leaf and options.pager !== false" |
