From 7580b687110950ab938ba13ba9f9754f48ddba1e Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 29 Nov 2019 10:16:00 +1100 Subject: [PATCH] rm extra line in product page --- ...lugins-discourse-patrons-products-show.hbs | 33 ++++++++----------- 1 file changed, 14 insertions(+), 19 deletions(-) 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}}