mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
add basic support for mobile mode
This commit is contained in:
@@ -3,7 +3,7 @@ import { Env, Menu } from "../env";
|
||||
|
||||
const template = `
|
||||
<div class="o_navbar">
|
||||
<span class="title">Odoo</span>
|
||||
<span class="title">Odoo<t t-if="env.isMobile"> MOBILE</t></span>
|
||||
<ul>
|
||||
<li t-foreach="env.menus" t-as="menu">
|
||||
<a t-att-href="getUrl(menu)">
|
||||
|
||||
Reference in New Issue
Block a user