rm extra line in product page

This commit is contained in:
Rimian Perkins 2019-11-29 10:16:00 +11:00
parent 36865c5ea1
commit 7580b68711
1 changed files with 14 additions and 19 deletions

View File

@ -68,30 +68,25 @@
</tr> </tr>
{{/each}} {{/each}}
<tr> {{#unless model.plans}}
<td colspan="7"> <tr>
{{#unless model.plans}} <td colspan="8">
<hr> <hr>
{{i18n 'discourse_patrons.admin.products.product.plan_help'}} {{i18n 'discourse_patrons.admin.products.product.plan_help'}}
{{/unless}} </td>
</td> </tr>
</tr> {{/unless}}
</table> </table>
</p> </p>
{{/unless}} {{/unless}}
<section> <div class="pull-right">
<hr> {{d-button label="cancel" action=(action "cancelProduct") icon="times"}}
{{#if model.product.isNew}}
<div class="pull-right"> {{d-button label="discourse_patrons.admin.products.operations.create" action="createProduct" icon="plus" class="btn btn-primary"}}
{{d-button label="cancel" action=(action "cancelProduct") icon="times"}} {{else}}
{{#if model.product.isNew}} {{d-button label="discourse_patrons.admin.products.operations.update" action="updateProduct" icon="check" class="btn btn-primary"}}
{{d-button label="discourse_patrons.admin.products.operations.create" action="createProduct" icon="plus" class="btn btn-primary"}} {{/if}}
{{else}} </div>
{{d-button label="discourse_patrons.admin.products.operations.update" action="updateProduct" icon="check" class="btn btn-primary"}}
{{/if}}
</div>
</section>
{{outlet}} {{outlet}}