[IMP] Listview.buttons template corrected for import button and future support to append buttons inside 'oe_list_buttons' section.
bzr revid: tta@openerp.com-20121107064623-q9oggrypyil1207w
This commit is contained in:
parent
e4effd6585
commit
909285bb7d
|
@ -648,13 +648,15 @@
|
|||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<div t-name="ListView.buttons" class="oe_list_buttons">
|
||||
<t t-name="ListView.buttons">
|
||||
<div class="oe_list_buttons">
|
||||
<t t-if="!widget.no_leaf and widget.options.action_buttons !== false and widget.options.addable and widget.is_action_enabled('create')">
|
||||
<button type="button" class="oe_button oe_list_add oe_highlight">
|
||||
<t t-esc="widget.options.addable"/>
|
||||
</button>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
<t t-name="ListView.pager">
|
||||
<div class="oe_list_pager" t-att-colspan="widget.columns_count">
|
||||
<t t-if="!widget.no_leaf and widget.options.pager !== false" t-call="ViewPager">
|
||||
|
|
Loading…
Reference in New Issue