summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-06-07 16:00:29 +0530
committerVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-06-07 16:00:29 +0530
commitff00c0f6355ef4af21d46b79516825a48ef513f4 (patch)
treeb6c295dfd6f74154455e2d137bcea97971be3b8a /addons/web/static/src/xml/base.xml
parenta91e66b76b14c11974429ad8a64b36e5c6f66dee (diff)
[IMP]Dashboard items added.
bzr revid: vme@tinyerp.com-20120607103029-0iumqrzigswzpny8
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 060bf29b36b..73101c5d0bf 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1417,11 +1417,6 @@
<form>
<ul>
<li>
- <select title = "Select Dashboard to add this filter to" style="width: 30%; margin-right: 1em;">
- <option t-foreach="widget.menu_data" t-as="menu" t-att-value="menu.id" t-att-selected="(menu.id == widget.selected_menu_id) || undefined"><t t-esc="menu.name"/>
- </option>
- </select>
-
<input placeholder ="Title of new Dashboard item" title = "Title of new Dashboard item" type="text" style="width: 30%; margin-right: 1em;"/>
<button class="oe_apply" type="submit">save</button>
<a style="width: 30%;" class="searchview_extended_delete_prop button">x</a>
@@ -1429,6 +1424,13 @@
</ul>
</form>
</div>
+<t t-name="SearchView.addtodashboard.selection">
+ <select title = "Select Dashboard to add this filter to" style="width: 40%; margin-right: 1em;">
+ <t t-foreach="selections" t-as="element">
+ <option t-att-value="element.res_id"><t t-esc="element.name"/></option>
+ </t>
+ </select>
+</t>
<div t-name="SearchView.advanced" class="oe_searchview_advanced">
<h4>Advanced Search</h4>
<form>