Add IPFS inspect button to reimbursements

This commit is contained in:
Râu Cao
2022-12-31 12:20:59 +07:00
parent 0b0dea095f
commit e543708b42
2 changed files with 9 additions and 0 deletions
@@ -32,6 +32,10 @@
</ul>
{{#if this.kredits.currentUserIsCore}}
<p>
<a href="{{this.ipfsGatewayUrl}}/{{reimbursement.ipfsHash}}"
class="button small" target="_blank" rel="noopener noreferrer">
Inspect IPFS data
</a>
<button {{on "click" (fn this.veto reimbursement.id)}}
disabled={{reimbursement.vetoed}}
class="button small danger">veto</button>