diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-10-24 10:48:53 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-10-24 10:48:53 +0200 |
| commit | ec18460aa3429b8dff245db9a18f0254d651b4f9 (patch) | |
| tree | b3efd8d14be166a12909ce8b8345a9edf6bb5c03 /addons/web/static/src/xml/base.xml | |
| parent | cdac09e3dce901458f87ed5eca4d10a2981c9938 (diff) | |
| parent | 940b1138aec2296a5a20095c2be3ee9a997bf1e2 (diff) | |
[ADD] pagination buttons at the bottom of the list view
bzr revid: xmo@openerp.com-20111024084853-kcq2dflsk36r6pby
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 7720ae2d38b..2860174c30f 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -568,21 +568,7 @@ Delete </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> + <t t-call="Listview.navigation.button"/> </tr> </table> </th> @@ -612,8 +598,26 @@ </td> <td t-if="options.deletable"/> </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)"/> |
