diff options
| author | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2011-10-21 16:14:41 +0530 |
|---|---|---|
| committer | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2011-10-21 16:14:41 +0530 |
| commit | 75a57eed129f7491adfa4cf1f26551b79da6cd04 (patch) | |
| tree | 11d862b373ed458c39c87bc2f3b061612ef42844 /addons/web/static/src/xml/base.xml | |
| parent | d049a25fa5f5053014d5930da14818fd056a1cac (diff) | |
[IMP] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
bzr revid: tpa@tinyerp.com-20111021104441-k2lnnciqalsjii2j
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 51 |
1 files changed, 19 insertions, 32 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index c3f15cf281c..7665a72e77b 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -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)"/> |
