diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-08-16 16:30:38 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-08-16 16:30:38 +0200 |
| commit | ed9db7c2c74b18037dc71fbf97cf263feda77e6d (patch) | |
| tree | da84823926a1eabbd7476bea4e2aa276b995ed95 /addons/base/static/src/xml | |
| parent | 36a1a0f1c3f6fe471453d52955f97110220599a3 (diff) | |
| parent | ffae7cb4b3e7350d19b273feb100ba73cd022214 (diff) | |
[ADD] shortcuts menu in header, with toggle star next to titles
bzr revid: xmo@openerp.com-20110816143038-3fpx5esytlyuvkrw
Diffstat (limited to 'addons/base/static/src/xml')
| -rw-r--r-- | addons/base/static/src/xml/base.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml index f9ec63dd69c..4f0be9bd552 100644 --- a/addons/base/static/src/xml/base.xml +++ b/addons/base/static/src/xml/base.xml @@ -359,7 +359,15 @@ </div> </div> -</t> + <div class="oe-shortcuts"> </div> +</t> +<ul t-name="Shortcuts"> + <li t-foreach="shortcuts" t-as="shortcut" + t-att-data-id="shortcut.res_id" + t-att-data-shortcut-id="shortcut.id" + ><t t-esc="shortcut.name"/></li> +</ul> + <t t-name="Menu"> <table align="center"> <tr> @@ -408,7 +416,8 @@ <table class="view-manager-main-table"> <tr> <td class="view-manager-main-content"> - <!-- TODO prefix id with the element_id of the controller t-attf-id="#{prefix}_localid" --> + <a class="oe-shortcut-toggle" title="Add / Remove Shortcut..." + href="javascript: void(0)"> </a> <div class="oe_vm_switch"> <t t-if="views.length != 1" t-foreach="views" t-as="view"> <button type="button" t-att-data-view-type="view.view_type"> |
