diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-05-03 13:42:51 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-05-03 13:42:51 +0200 |
| commit | 533a9273d942e5ec49ffc0b030d6152d2007c9e2 (patch) | |
| tree | 5fdf199808df8599421646e0b70fc294cb3fa118 /addons/web_shortcuts/static/src/xml/web_shortcuts.xml | |
| parent | e9273066a954fb14223f452110897b15b324d235 (diff) | |
[ADD] Shortcuts as a module
bzr revid: fme@openerp.com-20120503114251-p6yueoreiyu4dya0
Diffstat (limited to 'addons/web_shortcuts/static/src/xml/web_shortcuts.xml')
| -rw-r--r-- | addons/web_shortcuts/static/src/xml/web_shortcuts.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/addons/web_shortcuts/static/src/xml/web_shortcuts.xml b/addons/web_shortcuts/static/src/xml/web_shortcuts.xml new file mode 100644 index 00000000000..656fded1d75 --- /dev/null +++ b/addons/web_shortcuts/static/src/xml/web_shortcuts.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- vim:fdl=1: +--> +<templates id="template" xml:space="preserve"> +<t t-name="Systray.Shortcuts"> + <div class="oe_systray_shortcuts oe_systray_dropdown"> + <a href="#"><img src="/web_shortcuts/static/src/img/icon.png" width="22" height="22" border="0"/></a> + <ul class="oe_systray_shortcuts_items oe_systray_dropdown_options"/> + </div> +</t> +<t t-name="Systray.Shortcuts.Item"> + <li> + <a href="#" t-att-data-id="shortcut.res_id" 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> |
