mirror of https://github.com/OCA/web.git
[FIX][web_responsive] Long-named multicompanies nice in XS (#688)
parent
56ffa63a0e
commit
a54f6ecc0f
|
@ -6,7 +6,7 @@
|
||||||
"name": "Web Responsive",
|
"name": "Web Responsive",
|
||||||
"summary": "It provides a mobile compliant interface for Odoo Community "
|
"summary": "It provides a mobile compliant interface for Odoo Community "
|
||||||
"web",
|
"web",
|
||||||
"version": "10.0.1.0.0",
|
"version": "10.0.1.1.0",
|
||||||
"category": "Website",
|
"category": "Website",
|
||||||
"website": "https://laslabs.com/",
|
"website": "https://laslabs.com/",
|
||||||
"author": "LasLabs, Tecnativa, Odoo Community Association (OCA)",
|
"author": "LasLabs, Tecnativa, Odoo Community Association (OCA)",
|
||||||
|
@ -21,5 +21,6 @@
|
||||||
],
|
],
|
||||||
'qweb': [
|
'qweb': [
|
||||||
'static/src/xml/form_view.xml',
|
'static/src/xml/form_view.xml',
|
||||||
|
'static/src/xml/navbar.xml',
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,13 @@ header {
|
||||||
top: -3.5px;
|
top: -3.5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.o_switch_company_menu {
|
||||||
|
.oe_topbar_name {
|
||||||
|
@media (max-width: @screen-xs-max) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
> .oe_systray > li > a {
|
> .oe_systray > li > a {
|
||||||
.fa {
|
.fa {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright 2017 Jairo Llopis <jairo.llopis@tecnativa.com>
|
||||||
|
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<t t-extend="SwitchCompanyMenu">
|
||||||
|
<t t-jquery=".oe_topbar_name" t-operation="before">
|
||||||
|
<i class="fa fa-building visible-xs-inline-block"/>
|
||||||
|
</t>
|
||||||
|
</t>
|
||||||
|
</template>
|
Loading…
Reference in New Issue