mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-06 03:38:09 +00:00
331c8630c3
- Upgrade modal to Component API - Co-locate templates
21 lines
531 B
Handlebars
21 lines
531 B
Handlebars
<DButton
|
|
@action={{action "planClick"}}
|
|
class={{concat-class "btn-discourse-subscriptions-subscribe" selectedClass}}
|
|
>
|
|
<span class="interval">
|
|
{{#if this.recurringPlan}}
|
|
{{i18n
|
|
(concat
|
|
"discourse_subscriptions.plans.interval.adverb."
|
|
this.plan.recurring.interval
|
|
)
|
|
}}
|
|
{{else}}
|
|
{{i18n "discourse_subscriptions.one_time_payment"}}
|
|
{{/if}}
|
|
</span>
|
|
|
|
<span class="amount">
|
|
{{format-currency this.plan.currency this.plan.amountDollars}}
|
|
</span>
|
|
</DButton> |