35 lines
1.1 KiB
Handlebars
35 lines
1.1 KiB
Handlebars
<li data-reimbursement-id={{@reimbursement.id}}
|
|
class="{{item-status @reimbursement}}">
|
|
<p class="meta">
|
|
<span class="recipient">
|
|
<UserAvatar @contributor={{@reimbursement.contributor}} />
|
|
</span>
|
|
<span class="title">
|
|
Expenses covered by {{@reimbursement.contributor.name}}
|
|
</span>
|
|
</p>
|
|
<p class="token-amount">
|
|
<span class="amount">
|
|
{{sats-to-btc @reimbursement.amount}}</span> <span class="symbol">BTC</span>
|
|
</p>
|
|
|
|
<ExpenseList @expenses={{@reimbursement.expenses}} />
|
|
|
|
<div class="meta">
|
|
<p class="confirmation-eta">
|
|
<ConfirmedIn @confirmedAtBlock={{@reimbursement.confirmedAt}} />
|
|
</p>
|
|
<p class="actions">
|
|
<a href="{{this.ipfsGatewayUrl}}/{{@reimbursement.ipfsHash}}"
|
|
class="button small" target="_blank" rel="noopener noreferrer">
|
|
Inspect IPFS data
|
|
</a>
|
|
{{#if this.showVetoButton}}
|
|
<button {{on "click" (fn this.veto @reimbursement.id)}}
|
|
disabled={{@reimbursement.vetoed}}
|
|
class="button small danger" type="button">veto</button>
|
|
{{/if}}
|
|
</p>
|
|
</div>
|
|
</li>
|