-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed way to include .js and .css files
changed way to override javascript side template
- Loading branch information
1 parent
ef05ae0
commit 2efec72
Showing
5 changed files
with
30 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
# © Vauxoo <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<template> | ||
<t t-jquery="ul.dropdown-menu li:last" t-operation="after"> | ||
|
||
<t t-extend="UserMenu"> | ||
<t t-name="web_hideleftmenu.hidemenu" t-jquery="ul.dropdown-menu li:last" t-operation="after"> | ||
<li class="oe_hidemenu"> | ||
<a href="#">Hide/Show Menu</a> | ||
</li> | ||
</t> | ||
|
||
</template> | ||
</t> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
|
||
<template id="hideleft_assets_backend" name="web_hideleftmenu assets" | ||
inherit_id="web.assets_backend"> | ||
<xpath expr="." position="inside"> | ||
<link rel="stylesheet" | ||
href="/web_hideleftmenu/static/src/css/lib.css"/> | ||
<script type="text/javascript" | ||
src="/web_hideleftmenu/static/src/js/lib.js"></script> | ||
</xpath> | ||
</template> | ||
|
||
|
||
</data> | ||
</openerp> |