diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-04-27 11:28:42 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-27 15:53:16 +0200 |
| commit | 7dab370a064f01db175f4d3c72ecd8c9576ff295 (patch) | |
| tree | ab329ccc427859f44895df23f6d0087ce012a606 /addons/web/static/src/xml/base.xml | |
| parent | dd6a071dbf084bd5ef695bfde505736b0f4b0b98 (diff) | |
[REF] web: relational fields: FieldStatus
Moves back the mobile rendering part of the FieldStatus to
enterprise, alongside all other tweaks to improve the UX in mobile.
This part had been moved to community inadvertendly in the new
views branch.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index c044002a039..852154def91 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -945,7 +945,7 @@ <span t-if="widget.string"><t t-esc="widget.string"/></span> </div> </t> -<t t-name="FieldStatus.content.desktop"> +<t t-name="FieldStatus.content"> <t t-if="selection_folded.length"> <ul class="dropdown-menu o-status-more" role="menu"> <li t-foreach="selection_folded" t-as="i"> @@ -958,16 +958,6 @@ <t t-call="FieldStatus.content.button"/> </t> </t> -<t t-name="FieldStatus.content.mobile"> - <button type="button" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown"> - <t t-esc="value"/> - </button> - <ul class="dropdown-menu o-status-more" role="menu"> - <li t-foreach="selection" t-as="i"> - <t t-call="FieldStatus.content.button"/> - </li> - </ul> -</t> <t t-name="FieldStatus.content.button"> <t t-set="disabled" t-value="!clickable || i.selected"/> <button type="button" t-att-data-value="i.id" t-att-disabled="disabled ? 'disabled' : undefined" |
