forked from Techsystech/web
[FIX][web_responsive] Long-named multicompanies nice in XS (#688)
parent
84f330d2ee
commit
2ce69135c5
|
@ -6,7 +6,7 @@
|
|||
"name": "Web Responsive",
|
||||
"summary": "It provides a mobile compliant interface for Odoo Community "
|
||||
"web",
|
||||
"version": "10.0.1.0.0",
|
||||
"version": "10.0.1.1.0",
|
||||
"category": "Website",
|
||||
"website": "https://laslabs.com/",
|
||||
"author": "LasLabs, Tecnativa, Odoo Community Association (OCA)",
|
||||
|
@ -21,5 +21,6 @@
|
|||
],
|
||||
'qweb': [
|
||||
'static/src/xml/form_view.xml',
|
||||
'static/src/xml/navbar.xml',
|
||||
],
|
||||
}
|
||||
|
|
|
@ -36,6 +36,13 @@ header {
|
|||
top: -3.5px;
|
||||
}
|
||||
}
|
||||
.o_switch_company_menu {
|
||||
.oe_topbar_name {
|
||||
@media (max-width: @screen-xs-max) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
> .oe_systray > li > a {
|
||||
.fa {
|
||||
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