2018-06-28 09:32:58 +10:00
|
|
|
|
{{#if includePrefix}}
|
|
|
|
|
<span>{{i18n 'discourse_donations.invoice_prefix'}}</span>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2019-08-26 17:34:40 +10:00
|
|
|
|
<span class="donation-row-currency">{{currency}}</span>
|
2018-06-28 09:32:58 +10:00
|
|
|
|
|
2019-08-26 17:34:40 +10:00
|
|
|
|
<span class="donation-row-amount">{{amount}}</span>
|
2018-06-28 09:32:58 +10:00
|
|
|
|
|
2019-08-26 17:34:40 +10:00
|
|
|
|
<span class="donation-row-period">{{period}}</span>
|
2018-06-28 09:32:58 +10:00
|
|
|
|
|
|
|
|
|
{{#if invoice}}
|
|
|
|
|
<a href='{{data.invoiceLink}}' target='_blank'>({{i18n 'discourse_donations.invoice'}})</a>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if currentUser}}
|
|
|
|
|
{{#if subscription}}
|
2019-08-26 17:34:40 +10:00
|
|
|
|
<span class="donation-row-subscription">
|
|
|
|
|
{{#if updating}}
|
|
|
|
|
{{loading-spinner size='small'}}
|
|
|
|
|
{{else}}
|
|
|
|
|
{{#unless canceled}}
|
|
|
|
|
<a {{action 'cancelSubscription'}}>
|
|
|
|
|
{{i18n 'cancel'}}
|
|
|
|
|
</a>
|
|
|
|
|
{{/unless}}
|
|
|
|
|
{{/if}}
|
|
|
|
|
</span>
|
2018-06-28 09:32:58 +10:00
|
|
|
|
{{/if}}
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if receiptSent}}
|
|
|
|
|
<span>–</span>
|
|
|
|
|
<span>{{i18n 'discourse_donations.receipt' email=customer.email}}</span>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if new}}
|
|
|
|
|
<span class="new-flag">
|
|
|
|
|
{{d-icon 'circle'}}
|
|
|
|
|
<span>{{i18n 'new_item'}}</span>
|
|
|
|
|
</span>
|
|
|
|
|
{{/if}}
|