[IMP] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
bzr revid: tpa@tinyerp.com-20111021104441-k2lnnciqalsjii2j
This commit is contained in:
parent
d049a25fa5
commit
75a57eed12
|
@ -567,22 +567,8 @@
|
|||
t-if="options.selectable and options.deletable">
|
||||
Delete
|
||||
</button>
|
||||
<t t-call="Listview.navigation.button"/>
|
||||
</td>
|
||||
<th t-if="options.pager !== false" class="oe-list-pager">
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="first">First</button>
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="previous"
|
||||
><</button>
|
||||
|
||||
<span class="oe-pager-state">
|
||||
</span>
|
||||
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="next">></button>
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="last">Last</button>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
</th>
|
||||
|
@ -612,25 +598,26 @@
|
|||
</td>
|
||||
<td t-if="options.deletable"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<th t-if="options.pager !== false" class="oe-list-pager" t-att-colspan="columns_count">
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="first">First</button>
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="previous"
|
||||
><</button>
|
||||
|
||||
<span class="oe-pager-state">
|
||||
</span>
|
||||
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="next">></button>
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="last">Last</button>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<t t-call="Listview.navigation.button"/>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<th t-name="Listview.navigation.button" t-if="options.pager !== false"
|
||||
class="oe-list-pager" t-att-colspan="columns_count">
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="first">First</button>
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="previous"><</button>
|
||||
|
||||
<span class="oe-pager-state">
|
||||
</span>
|
||||
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="next">></button>
|
||||
<button type="button" disabled="disabled"
|
||||
data-pager-action="last">Last</button>
|
||||
</th>
|
||||
<t t-name="ListView.rows" t-foreach="records.length" t-as="index">
|
||||
<t t-call="ListView.row">
|
||||
<t t-set="record" t-value="records.at(index)"/>
|
||||
|
|
Loading…
Reference in New Issue