diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-12-13 17:57:01 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-12-13 17:57:01 +0100 |
| commit | 00c3cb84d8191040c95db96ff5e5c4728b8960fb (patch) | |
| tree | b5d6c702913540be7e9440d60658c1138f129a86 /addons/web_dashboard/static/src/xml/web_dashboard.xml | |
| parent | fc1c009d158907ec82d6961dc0601370dd614850 (diff) | |
[IMP] Dashboard: moved 'Create' button in title of action
bzr revid: fme@openerp.com-20111213165701-qirmbnuyztsrny8u
Diffstat (limited to 'addons/web_dashboard/static/src/xml/web_dashboard.xml')
| -rw-r--r-- | addons/web_dashboard/static/src/xml/web_dashboard.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml index 5d05990c917..5f98df612d5 100644 --- a/addons/web_dashboard/static/src/xml/web_dashboard.xml +++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml @@ -25,11 +25,11 @@ <h2 t-attf-class="oe-dashboard-action-header #{action.attrs.string ? '' : 'oe-dashboard-action-header-empty'}"> <t t-esc="action.attrs.string"/> <t t-if="!action.attrs.string">&nbsp;</t> + <button t-if="action.attrs.creatable and action.attrs.creatable !== 'false'" class="oe_dashboard_button_create">Create</button> <span class='ui-icon ui-icon-closethick'></span> <span class='ui-icon ui-icon-minusthick oe-dashboard-fold' t-if="!action.attrs.fold"></span> <span class='ui-icon ui-icon-plusthick oe-dashboard-fold' t-if="action.attrs.fold"></span> </h2> - <button t-if="action.attrs.creatable and action.attrs.creatable !== 'false'" class="oe_dashboard_button_create">Create</button> <div t-attf-id="#{view.element_id}_action_#{column_index}_#{action_index}" class="oe-dashboard-action-content" t-att-style="action.attrs.fold ? 'display: none' : null"></div> </div> </t> |
