Merge pull request #2994 from matiu/feat/invalid-tx

handles invalid txs in history
This commit is contained in:
Gustavo Maximiliano Cortez 2015-07-15 10:20:09 -03:00
commit 19243470be
2 changed files with 15 additions and 1 deletions

View file

@ -456,14 +456,20 @@
ng-style="{'background-color':index.backgroundColor}" translate>Received</span>
<span class="label tu gray radius" ng-show="btx.action == 'sent'" translate>Sent</span>
<span class="label tu gray radius" ng-show="btx.action == 'moved'" translate>Moved</span>
<span class="label tu warning radius" ng-show="btx.action == 'invalid'" translate>Invalid</span>
</div>
<div class="large-4 medium-4 small-4 columns">
<span class="size-16">
<span ng-if="btx.action == 'received'">+</span>
<span ng-if="btx.action == 'sent'">-</span>
<span class="size-12" ng-if="btx.action == 'invalid'" translate>
(possible double spend)
</span>
<span ng-if="btx.action != 'invalid'">
{{btx.amountStr}}
{{home.getUnitName()}}
</span>
</span>
</div>
<div class="large-4 medium-4 small-4 columns text-right">