diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-04-09 22:16:47 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-04-09 22:16:47 +0200 |
| commit | 16ea7ae148c87ff1e70dff2fd95baa52b9418830 (patch) | |
| tree | 83ed1edae757e3c247c934d516f7a6bd8f68b161 /addons/web/static/src/xml/base.xml | |
| parent | 63e14ebeaa54f83029ef0af32a7e1f9e7ebd31d0 (diff) | |
listview refactor part2
bzr revid: al@openerp.com-20120409201647-97r7h4nd3lid42si
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 2050aad45fa..3c1cfbfb7d2 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -595,17 +595,17 @@ </tfoot> </table> <t t-name="ListView.buttons"> - <div t-if="!no_leaf and options.action_buttons !== false" class="oe_list_buttons"> - <button type="button" class="oe_button oe-list-add" t-if="options.addable"> - <t t-esc="options.addable"/> + <div t-if="!widget.no_leaf and widget.options.action_buttons !== false" class="oe_list_buttons"> + <button type="button" class="oe_button oe_list_add" t-if="widget.options.addable"> + <t t-esc="widget.options.addable"/> </button> - <button type="button" class="oe_button oe-list-delete" t-if="options.selectable and options.deletable"> + <button type="button" class="oe_button oe_list_delete" t-if="widget.options.selectable and widget.options.deletable"> Delete </button> </div> </t> <t t-name="Listview.pager"> - <div t-if="!no_leaf and options.pager !== false" class="oe-list-pager" t-att-colspan="columns_count"> + <div t-if="!widget.no_leaf and widget.options.pager !== false" class="oe_list_pager" t-att-colspan="widget.columns_count"> <t t-call="ViewPager"> <span class="oe-pager-state"> </span> |
