[IMP] make legacy dashboard map onto a 2-1 layout by default, rather than 1-1
Since 'legacy' dashboards generally have just small graphs on the right-hand side, give then a third of the dashboard and give the lists (left-hand side) two thirds bzr revid: xmo@openerp.com-20110906094731-u3z0l1iz25el0r4m
This commit is contained in:
@@ -253,7 +253,7 @@ openerp.web.form.DashBoard = openerp.web.form.Widget.extend({
|
||||
openerp.web.form.DashBoardLegacy = openerp.web.form.DashBoard.extend({
|
||||
render: function() {
|
||||
if (this.node.tag == 'hpaned') {
|
||||
this.node.attrs.style = '1-1';
|
||||
this.node.attrs.style = '2-1';
|
||||
} else if (this.node.tag == 'vpaned') {
|
||||
this.node.attrs.style = '1';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user