mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Initial commit
This commit is contained in:
27
web_shortcut/static/src/xml/web_shortcut.xml
Normal file
27
web_shortcut/static/src/xml/web_shortcut.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- vim:fdl=1:
|
||||
-->
|
||||
<templates>
|
||||
<t t-name="Systray.ShortcutMenu">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<img src="/web_shortcut/static/src/img/add-shortcut.png"/>
|
||||
</a>
|
||||
<ul class="oe_systray_shortcut_menu dropdown-menu">
|
||||
</ul>
|
||||
</li>
|
||||
</t>
|
||||
<t t-name="Systray.ShortcutMenu.Item">
|
||||
<li>
|
||||
<a href="#" t-att-data-id="shortcut.menu_id[0]" t-att-data-shortcut-id="shortcut.id">
|
||||
<t t-esc="shortcut.name"/>
|
||||
</a>
|
||||
</li>
|
||||
</t>
|
||||
<t t-extend="ViewManagerAction">
|
||||
<t t-jquery="h2.oe_view_title" t-operation="prepend">
|
||||
<a t-if="widget.flags.display_title !== false" class="oe_shortcut_toggle" title="Add / Remove Shortcut..."
|
||||
href="javascript: void(0)"> </a>
|
||||
</t>
|
||||
</t>
|
||||
</templates>
|
||||
Reference in New Issue
Block a user