diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-06-26 16:54:45 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-06-26 16:54:45 +0200 |
| commit | ce9879bea4738ccb6c10335d1fa84d05e41b1a00 (patch) | |
| tree | fe9e32d00c5b213ed97e24bcbaeb5a13bdc17ad3 /addons/web/static/src/xml/base.xml | |
| parent | 2d7d7f216d6ee444605d2788937bccf2939b6b84 (diff) | |
| parent | 305eab618ab84dffcf3ec72f143b9319df43ceed (diff) | |
[FIX] put back the "Add to Dashboard" feature
bzr revid: nicolas.vanhoren@openerp.com-20120626145445-kym37wuxkaapdwe6
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index c0463260405..050ce1530e6 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1238,7 +1238,6 @@ <optgroup label="-- Actions --"> <option value="advanced_filter">Add Advanced Filter</option> <option value="save_filter">Save Filter</option> - <option value="add_to_dashboard">Add to Dashboard</option> <option value="manage_filters">Manage Filters</option> </optgroup> </t> @@ -1249,16 +1248,7 @@ <p>(Any existing filter with the same name will be replaced)</p> </div> </t> -<t t-name="SearchView.add_to_dashboard"> - <div> - <p><b>Select Dashboard to add this filter to:</b></p> - <select style="width: 100%; margin-right: 1em;"> - <option t-foreach="dashboards" t-as="menu" t-att-value="menu.id" t-att-selected="(menu.id == selected_menu_id) || undefined"><t t-esc="menu.name"/></option> - </select> - <p><b>Title of new Dashboard item:</b></p> - <input type="text" style="width: 100%; margin-right: 1em;"/> - </div> -</t> + <t t-name="SearchView.render_lines"> <table class="oe-searchview-render-line" border="0" cellspacing="0" cellpadding="0" t-foreach="lines" t-as="line"> @@ -1397,6 +1387,20 @@ <div> </div> </div> +<div t-name="SearchView.addtodashboard" class="oe_searchview_dashboard"> + <h4>Add to Dashboard</h4> + <form> + <input placeholder ="Title of new Dashboard item" title = "Title of new Dashboard item" type="text"/> + <button class="oe_apply" type="submit">save</button> + </form> +</div> +<t t-name="SearchView.addtodashboard.selection"> + <select title = "Select Dashboard to add this filter to"> + <t t-foreach="selections" t-as="element"> + <option t-att-value="element.id || 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> |
