FIX: A few more syntax fixes for button actions (#162)
This commit is contained in:
parent
803bba7938
commit
7bc34bbbb4
|
@ -30,7 +30,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<DButton
|
<DButton
|
||||||
@action={{this.deleteCoupon}}
|
@action={{action "deleteCoupon"}}
|
||||||
@actionParam={{coupon}}
|
@actionParam={{coupon}}
|
||||||
@icon="trash-alt"
|
@icon="trash-alt"
|
||||||
class="btn-danger btn btn-icon btn-no-text"
|
class="btn-danger btn btn-icon btn-no-text"
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
{{#unless creating}}
|
{{#unless creating}}
|
||||||
<DButton
|
<DButton
|
||||||
@action={{this.openCreateForm}}
|
@action={{action "openCreateForm"}}
|
||||||
@label="discourse_subscriptions.admin.coupons.create"
|
@label="discourse_subscriptions.admin.coupons.create"
|
||||||
@title="discourse_subscriptions.admin.coupons.create"
|
@title="discourse_subscriptions.admin.coupons.create"
|
||||||
@icon="plus"
|
@icon="plus"
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<DButton @label="cancel" @action={{this.cancelProduct}} @icon="times" />
|
<DButton @label="cancel" @action={{action "cancelProduct"}} @icon="times" />
|
||||||
|
|
||||||
{{#if model.product.isNew}}
|
{{#if model.product.isNew}}
|
||||||
<DButton
|
<DButton
|
||||||
|
|
Loading…
Reference in New Issue