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>
...@@ -7,9 +7,12 @@ ...@@ -7,9 +7,12 @@
<th>Transaction ID</th> <th>Transaction ID</th>
</thead> </thead>
<tr *ngFor="let transaction of transactions"> <tr *ngFor="let transaction of transactions">
<!--<td *ngIf="{{ transaction.amount }} < 0; else received">SENT</td>
<td #received>RECEIVED</td>-->
<td>{{ transaction.timestamp }}</td> <td>{{ transaction.timestamp }}</td>
<td>{{ transaction.amount }}</td> <td>{{ transaction.amount }}</td>
<td>{{ transaction.confirmed }}</td> <td>{{ transaction.confirmed }}</td>
<td>{{ transaction.txId }}</td> <td>{{ transaction.txId }}</td>
</tr> </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