summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-07-10 16:32:28 +0200
committerXavier Morel <xmo@openerp.com>2012-07-10 16:32:28 +0200
commit46da3547cabfeb8e8ab3c501f2049c2046a9bcb3 (patch)
treeab7db8a2cfddb985a7cfd26cdc9a1c79060cae89 /addons/web/static/src/xml
parent5b6df7ebebbc80c83ed094388f7b85459dae8668 (diff)
[IMP] move saving a row from per-row buttons to a single global button replacing [Create]
bzr revid: xmo@openerp.com-20120710143228-mqfuaxw894x9khkc
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml13
1 files changed, 8 insertions, 5 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 66a1c02e448..ec5f9c6d9de 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -619,7 +619,9 @@
<button type="button" class="oe_button oe_list_add oe_highlight">
<t t-esc="widget.options.addable"/>
</button>
- <span class="oe_fade">or</span> <a href="#" class="oe_bold oe_list_button_import">Import</a>
+ <span class="oe_alternative">
+ <span class="oe_fade">or</span> <a href="#" class="oe_bold oe_list_button_import">Import</a>
+ </span>
</t>
</div>
<t t-name="ListView.pager">
@@ -663,10 +665,11 @@
</td>
</tr>
-<t t-name="ListView.row.save">
- <td>
- <button class='oe_i oe-edit-row-save' type='button' name='save'>S</button>
- </td>
+<t t-extend="ListView.buttons">
+ <t t-jquery="button.oe_list_add" t-operation="after">
+ <button class="oe_button oe_list_save oe_highlight"
+ type="button">Save Row</button>
+ </t>
</t>
<t t-name="FormView">