diff --git a/assets/javascripts/discourse/templates/components/product-list.hbs b/assets/javascripts/discourse/templates/components/product-list.hbs index b016f08..9b48aa6 100644 --- a/assets/javascripts/discourse/templates/components/product-list.hbs +++ b/assets/javascripts/discourse/templates/components/product-list.hbs @@ -13,7 +13,9 @@
{{#if product.subscribed}} ✓ {{i18n 'discourse_subscriptions.subscribe.purchased'}} - {{I18n 'discourse_subscriptions.subscribe.go_to_billing'}} + {{#link-to "user.billing.subscriptions" currentUser.username class="billing-link"}} + {{i18n 'discourse_subscriptions.subscribe.go_to_billing'}} + {{/link-to}} {{else}} {{#link-to "s.show" product.id disabled=product.subscribed class="btn btn-primary"}} {{i18n 'discourse_subscriptions.subscribe.title'}}