[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:
Turkesh Patel (Open ERP) 2011-10-21 16:14:41 +05:30
parent d049a25fa5
commit 75a57eed12
1 changed files with 19 additions and 32 deletions

View File

@ -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"
>&lt;</button>
<span class="oe-pager-state">
</span>
<button type="button" disabled="disabled"
data-pager-action="next">&gt;</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"
>&lt;</button>
<span class="oe-pager-state">
</span>
<button type="button" disabled="disabled"
data-pager-action="next">&gt;</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">&lt;</button>
<span class="oe-pager-state">
</span>
<button type="button" disabled="disabled"
data-pager-action="next">&gt;</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)"/>