diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-12-07 14:24:47 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-12-07 14:24:47 +0100 |
| commit | 74bd504779bb92f5e79f8492a05c7f209cf2df53 (patch) | |
| tree | d8c35f8a8258b26bec5c6a57276d08939e68ba98 /addons/web/static/src/xml/base.xml | |
| parent | 4e6f2e376e5dc282a171c7282d773ffeef60d1c2 (diff) | |
[FIX] Translate icon is wrapped down
lp bug: https://launchpad.net/bugs/898675 fixed
bzr revid: fme@openerp.com-20111207132447-dr9jbz25gqyhcar2
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a75101f9867..618d135a919 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -726,7 +726,6 @@ <t t-foreach="row" t-as="td"> <td t-att-colspan="td.colspan gt 1 ? td.colspan : undefined" t-att-width="td.width" - t-att-nowrap="td.nowrap or td.is_field_m2o? 'true' : undefined" t-att-valign="td.table ? 'top' : undefined" t-attf-class="oe_form_frame_cell #{td.classname} #{td.element_class}" > @@ -863,15 +862,15 @@ t-att-name="widget.name" t-att-id="widget.element_id" t-attf-class="field_#{widget.type} #{_(['integer', 'float', 'float_time']).contains(widget.type) ? 'oe-number' : ''}" - t-attf-style="width: #{widget.field.translate ? '99' : '100'}%" + style="width: 100%" /> - <img class="oe_field_translate" t-if="widget.field.translate" src="/web/static/src/img/icons/terp-translate.png" width="16" height="16" border="0"/> + <img class="oe_field_translate oe_input_icon" t-if="widget.field.translate" src="/web/static/src/img/icons/terp-translate.png" width="16" height="16" border="0"/> </t> <t t-name="FieldChar.readonly"> <div t-att-id="widget.element_id" t-attf-class="field_#{widget.type} #{_(['integer', 'float', 'float_time']).contains(widget.type) ? 'oe-number' : ''}" - t-attf-style="width: #{widget.field.translate ? '99' : '100'}%"> + style="width: 100%"> </div> </t> <t t-name="FieldURI.readonly"> @@ -880,7 +879,7 @@ <t t-name="FieldEmail"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> - <td width="100%"> + <td width="100%" style="position: relative"> <t t-call="FieldChar"/> </td> <td width="16"> @@ -894,7 +893,7 @@ <t t-name="FieldUrl"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> - <td width="100%"> + <td width="100%" style="position: relative"> <t t-call="FieldChar"/> </td> <td width="16"> @@ -910,9 +909,9 @@ t-att-name="widget.name" t-att-id="widget.element_id" t-attf-class="field_#{widget.type}" - t-attf-style="width: #{widget.field.translate ? '99' : '100'}%" + style="width: 100%" ></textarea> - <img class="oe_field_translate" t-if="widget.field.translate" src="/web/static/src/img/icons/terp-translate.png" width="16" height="16" border="0"/> + <img class="oe_field_translate oe_input_icon" t-if="widget.field.translate" src="/web/static/src/img/icons/terp-translate.png" width="16" height="16" border="0"/> </t> <t t-name="web.datetimepicker"> <div class="oe_datepicker_root"> |
