diff options
| author | Dharmraj <dja@odoo.com> | 2017-05-30 18:50:05 +0530 |
|---|---|---|
| committer | ged-odoo <ged@odoo.com> | 2017-05-30 15:20:05 +0200 |
| commit | 1b17d0a764027ecd01796a4ffffca9e3fbd008be (patch) | |
| tree | a88803de84aa45befda9c19fed3d17a4506802fa /addons/web/static/src/xml/base_common.xml | |
| parent | a75bb06cc366a9c8dd7cdb88ec3c1a728f2fb86b (diff) | |
[IMP] web: show user menu in small devices
The user menu was not visible in portrait mode with multi company in mobile. This was caused by the company menu taking too much room. We fix the issue by making the company menu smaller (just the size of an icon)
(PR #16685, task 29394)
Diffstat (limited to 'addons/web/static/src/xml/base_common.xml')
| -rw-r--r-- | addons/web/static/src/xml/base_common.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base_common.xml b/addons/web/static/src/xml/base_common.xml index 618c3a1f7e2..fd1ceb06d89 100644 --- a/addons/web/static/src/xml/base_common.xml +++ b/addons/web/static/src/xml/base_common.xml @@ -128,7 +128,7 @@ <t t-name="SwitchCompanyMenu"> <li class="o_switch_company_menu"> <a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" href="#"> - <span class="oe_topbar_name"/> <span class="caret"></span> + <span t-attf-class="#{widget.isMobile ? 'fa fa-building-o' : 'oe_topbar_name'}"/> <span class="caret"/> </a> <ul class="dropdown-menu" role="menu"/> </li> |
