Skip to content

Commit aea2af5

Browse files
committed
fix: show message unconfirmed transactions if there is not transaction confirmed yet
1 parent 6fc9521 commit aea2af5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

public/views/transaction.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ <h1>
5252
<tfoot>
5353
<tr>
5454
<td colspan="3" style="text-align: right;">
55-
<button type="button" class="btn btn-primary">{{tx.confirmations}} Confirmations</button>
55+
<button data-ng-show="tx.confirmations" type="button" class="btn btn-primary">
56+
{{tx.confirmations}} Confirmations
57+
</button>
58+
<button data-ng-show="!tx.confirmations" type="button" class="btn btn-danger">
59+
Unconfirmed Transaction!
60+
</button>
5661
<button type="button" class="btn btn-success">{{tx.valueOut}} BTC</button>
5762
</td>
5863
</tr>

0 commit comments

Comments
 (0)