rm extra line in product page
This commit is contained in:
parent
36865c5ea1
commit
7580b68711
|
@ -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}}
|
||||||
|
|
Loading…
Reference in New Issue