diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-patrons-products-show.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-patrons-products-show.hbs index da68d31..162b08e 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-patrons-products-show.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-patrons-products-show.hbs @@ -68,30 +68,25 @@ {{/each}} - - - {{#unless model.plans}} + {{#unless model.plans}} + +
{{i18n 'discourse_patrons.admin.products.product.plan_help'}} - {{/unless}} - - + + + {{/unless}}

{{/unless}} -
-
- -
- {{d-button label="cancel" action=(action "cancelProduct") icon="times"}} - {{#if model.product.isNew}} - {{d-button label="discourse_patrons.admin.products.operations.create" action="createProduct" icon="plus" class="btn btn-primary"}} - {{else}} - {{d-button label="discourse_patrons.admin.products.operations.update" action="updateProduct" icon="check" class="btn btn-primary"}} - {{/if}} -
- -
+
+ {{d-button label="cancel" action=(action "cancelProduct") icon="times"}} + {{#if model.product.isNew}} + {{d-button label="discourse_patrons.admin.products.operations.create" action="createProduct" icon="plus" class="btn btn-primary"}} + {{else}} + {{d-button label="discourse_patrons.admin.products.operations.update" action="updateProduct" icon="check" class="btn btn-primary"}} + {{/if}} +
{{outlet}}