Browse Source
[FIX][web_responsive] Long-named multicompanies nice in XS (#688)
pull/1066/head
Jairo Llopis
7 years ago
committed by
Jairo Llopis
No known key found for this signature in database
GPG Key ID: 59564BF1E22F314F
3 changed files with
20 additions and
1 deletions
-
web_responsive/__manifest__.py
-
web_responsive/static/src/less/navbar.less
-
web_responsive/static/src/xml/navbar.xml
|
@ -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> |