diff options
| author | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2011-10-11 19:04:56 +0530 |
|---|---|---|
| committer | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2011-10-11 19:04:56 +0530 |
| commit | 22099a2d9e5f0f201cb1e64304038478f60be495 (patch) | |
| tree | cd3860d4db553308db567bf06d372b83253283a8 /addons/web/static/src/xml/base.xml | |
| parent | 2ea38a65aa2392ef5429faef2b675e630a35b985 (diff) | |
[IMP]fix review's issue and try to convert single method for inherited view search
bzr revid: vme@tinyerp.com-20111011133456-vq1i5cv2pmbkhixz
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index d0fbe16c6df..d8ec6f30daf 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1302,20 +1302,24 @@ <td align="left" class="view_editor" width="15%"> <table cellspacing="0" cellpadding ="0" width="100%"> <tr> - <td> - <img id="side-add" src="/web/static/src/img/icons/gtk-add.png" style="cursor: pointer;"/> + <td width="20%"> + <img t-if="rec.att_list.length" + id="side-add" src="/web/static/src/img/icons/gtk-add.png" style="cursor: pointer;"/> </td> - <td> + <td width="20%"> <img id="side-remove" src="/web/static/src/img/icons/gtk-remove.png" style="cursor: pointer;"/> </td> - <td> - <img id="side-edit" src="/web/static/src/img/icons/gtk-edit.png" style="cursor: pointer;"/> + <td width="20%"> + <img t-if="rec.att_list.length" + id="side-edit" src="/web/static/src/img/icons/gtk-edit.png" style="cursor: pointer;"/> </td> - <td> - <img id="side-up" src="/web/static/src/img/icons/gtk-go-up.png" style="cursor: pointer;"/> + <td width="20%"> + <img t-if="rec.att_list.length" + id="side-up" src="/web/static/src/img/icons/gtk-go-up.png" style="cursor: pointer;"/> </td> - <td> - <img id="side-down" src="/web/static/src/img/icons/gtk-go-down.png" style="cursor: pointer;"/> + <td width="20%"> + <img t-if="rec.att_list.length" + id="side-down" src="/web/static/src/img/icons/gtk-go-down.png" style="cursor: pointer;"/> </td> </tr> </table> |
