Commit 438700d1 authored by dev0tion's avatar dev0tion

Improve transaction history

parent 4aa14b7c
<h1>History</h1> <h1>History</h1>
<table *ngIf="transactions"> <table *ngIf="transactions; else noTransactions">
<thead> <thead>
<th>Timestamp</th> <th>Timestamp</th>
<th>Amount</th> <th>Amount</th>
<th>Confirmed</th> <th>Confirmed</th>
<th>Transaction ID</th> <th>Transaction ID</th>
</thead> </thead>
<tr *ngFor="let transaction of transactions"> <tr *ngFor="let transaction of transactions">
<td>{{ transaction.timestamp }}</td> <!--<td *ngIf="{{ transaction.amount }} < 0; else received">SENT</td>
<td>{{ transaction.amount }}</td> <td #received>RECEIVED</td>-->
<td>{{ transaction.confirmed }}</td> <td>{{ transaction.timestamp }}</td>
<td>{{ transaction.txId }}</td> <td>{{ transaction.amount }}</td>
</tr> <td>{{ transaction.confirmed }}</td>
<td>{{ transaction.txId }}</td>
</tr>
</table> </table>
<ng-template #noTransactions>Looks like you haven't made any transactions yet.</ng-template>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment