File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
awesome_dashboard/static/src/dashboard Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 2
2
<templates xml : space =" preserve" >
3
3
4
4
<t t-name =" awesome_dashboard.awesome_dashboard" >
5
- <button class =" btn btn-primary" t-on-click =" () => this.openPartners()" >
6
- Customers
7
- </button >
8
- <button class =" btn btn-primary" t-on-click =" () => this.openLeads()" >
9
- Leads
10
- </button >
11
5
<Layout className =" 'o_dashboard h-100'" display =" {controlPanel: {} }" >
6
+ <t t-set-slot =" layout-buttons" >
7
+ <button class =" btn btn-primary" t-on-click =" () => this.openPartners()" >
8
+ Customers
9
+ </button >
10
+ <button class =" btn btn-primary" t-on-click =" () => this.openLeads()" >
11
+ Leads
12
+ </button >
13
+ </t >
12
14
<t t-foreach =" items" t-as =" item" t-key =" item.id" >
13
15
<DashboardItem size =" item.size" >
14
16
<t t-set =" itemProp" t-value =" item.props ? item.props(this.stats) : {'data': this.stats}" />
You can’t perform that action at this time.
0 commit comments