UX: fix incorrect text on cancel button
This commit is contained in:
parent
bdcaaf9897
commit
d60c5b6d54
|
@ -21,7 +21,11 @@
|
|||
{{#if subscription.loading}}
|
||||
{{loading-spinner size="small"}}
|
||||
{{else}}
|
||||
{{d-button disabled=subscription.canceled_at label="discourse_subscriptions.user.subscriptions.cancelled" action=(route-action "cancelSubscription" subscription) icon="times"}}
|
||||
{{#if subscription.canceled_at}}
|
||||
{{d-button disabled=subscription.canceled_at label="discourse_subscriptions.user.subscriptions.cancelled"}}
|
||||
{{else}}
|
||||
{{d-button disabled=subscription.canceled_at label="discourse_subscriptions.user.subscriptions.cancel" action=(route-action "cancelSubscription" subscription) icon="times"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -52,6 +52,7 @@ en:
|
|||
status: Status
|
||||
renews: Renews
|
||||
created_at: Created
|
||||
cancel: cancel
|
||||
cancelled: cancelled
|
||||
operations:
|
||||
destroy:
|
||||
|
|
Loading…
Reference in New Issue