Turkesh Patel (openERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-bug-878106-tpa into lp:openerp-web.

Requested reviews:
  Xavier (Open ERP) (xmo)
Related bugs:
  Bug #878106 in OpenERP Web: "In tree view, buttons 'First', '<', '>', 'Last' 
would be nice at the bottom, too"
  https://bugs.launchpad.net/openerp-web/+bug/878106

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-878106-tpa/+merge/80047
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-878106-tpa/+merge/80047
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-bug-878106-tpa.
=== modified file 'addons/web/static/src/xml/base.xml'
--- addons/web/static/src/xml/base.xml	2011-10-17 12:23:35 +0000
+++ addons/web/static/src/xml/base.xml	2011-10-21 11:07:24 +0000
@@ -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,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">&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)"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to