added alert if there are not transactions yet

This commit is contained in:
Gustavo Cortez 2014-01-17 12:49:33 -03:00
parent b6abe7f338
commit 6e46d85124
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<div data-ng-show="!txs || txs.lenght">Loading...</div>
<div class="block-tx" data-ng-repeat="tx in txs">
<div class="alert alert-warning" data-ng-show="txs && !txs[0].txid">There are not transactions</div>
<div class="block-tx" data-ng-show="txs && txs[0].txid" data-ng-repeat="tx in txs">
<div class="line-bot">
<a href="/#!/tx/{{tx.txid}}">{{tx.txid}}</a>
<span class="pull-right">{{tx.time * 1000 | date:'medium'}}</span>