fix offline notifications

This commit is contained in:
Matias Alejo Garcia 2015-04-14 12:51:49 -03:00
commit d21c9320c4
8 changed files with 40 additions and 51 deletions

View file

@ -2,16 +2,15 @@
<div class="row m20t" ng-show="!index.txHistory[0]">
<div class="large-12 columns">
<div class="oh text-center">
<span ng-if="index.updatingTxHistory" class="text-gray" translate>Getting transactions...</span>
<div class="box-notification" ng-show="index.txHistoryError">
<div class="box-icon error">
<i class="fi-x size-24"></i>
</div>
<span class="text-warning size-14" translate> Could not fetch transaction history
</span>
</div>
<span ng-if="!index.updatingTxHistory && !index.txHistoryError">No transactions yet</span>
<span ng-if="index.updatingTxHistory" class="text-gray animated flash infinite" translate>Getting transactions...</span>
<span ng-if="!index.updatingTxHistory">
<span ng-show="index.txHistoryError">
Could not fetch transaction history
</span>
<span ng-if="!index.txHistoryError">
No transactions yet
</span>
</span>
</div>
</div>
</div>
@ -30,7 +29,7 @@
<span class="size-18">
<span ng-if="btx.action == 'received'">+</span>
<span ng-if="btx.action == 'sent'">-</span>
{{history.formatAmount(btx.amount)}}
{{btx.amountStr}}
{{history.getUnitName()}}
</span>
</div>