summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-06-12 15:15:43 +0200
committerFabien Meghazi <fme@openerp.com>2012-06-12 15:15:43 +0200
commit554195630b2a184babee7ef43a951c62cd377d46 (patch)
tree21a55e277316d1fe60a2c58bff0e6da14c95e2fb /addons/web/static/src/xml/base.xml
parent250ae50514a2371c0db49aa25380d0608ab93b86 (diff)
[IMP] Improved o2m and m2m viewmanager/listview styling
bzr revid: fme@openerp.com-20120612131543-qmltlt7p1h8g5xk5
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index c48fff4c1f5..5e3df49b89b 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -404,7 +404,7 @@
<col width="33%"/>
<col width="33%"/>
<col width="34%"/>
- <tr class="oe_header_row">
+ <tr class="oe_header_row oe_header_row_top">
<td colspan="2">
<h2 class="oe_view_title" t-if="widget.flags.display_title !== false">
<span class="oe_view_title_text"><t t-esc="widget.display_title()"/></span>
@@ -642,8 +642,8 @@
</tfoot>
</table>
<div t-name="ListView.buttons" class="oe_list_buttons">
- <t t-if="!widget.no_leaf and widget.options.action_buttons !== false">
- <button type="button" class="oe_button oe_list_add oe_form_button_hi" t-if="widget.options.addable">
+ <t t-if="!widget.no_leaf and widget.options.action_buttons !== false and widget.options.addable">
+ <button type="button" class="oe_button oe_list_add oe_form_button_hi">
<t t-esc="widget.options.addable"/>
</button>
<span class="oe_fade">or</span> <a href="#" class="oe_bold oe_list_button_import">Import</a>
@@ -1204,7 +1204,7 @@
</t>
<t t-name="One2Many.viewmanager" t-extend="ViewManager">
- <t t-jquery="span.oe_view_title_text" t-operation="replace"/>
+ <t t-jquery=".oe_header_row_top" t-operation="replace"/>
<t t-jquery=".oe-view-manager-header">
this.attr('t-if', 'views.length != 1');