fix notif for offline

This commit is contained in:
Matias Alejo Garcia 2015-04-24 00:34:52 -03:00
commit 6ce46fd0ca

View file

@ -37,7 +37,8 @@ index.onGoingProcessName == 'openingWallet'
<div class="oh" ng-show="!index.noFocusedWallet"> <div class="oh" ng-show="!index.noFocusedWallet">
<div id="walletHome" class="walletHome tab-view tab-in"> <div id="walletHome" class="walletHome tab-view tab-in">
<div class="oh">
<div class="amount" ng-style="{'background-color':index.backgroundColor}"> <div class="amount" ng-style="{'background-color':index.backgroundColor}">
<div ng-if="!index.anyOnGoingProcess && !index.notAuthorized"> <div ng-if="!index.anyOnGoingProcess && !index.notAuthorized">
<div ng-show="index.updateError" ng-click='index.openWallet()'> <div ng-show="index.updateError" ng-click='index.openWallet()'>
@ -65,9 +66,11 @@ index.onGoingProcessName == 'openingWallet'
</div> </div>
</div> </div>
</div> <!-- amount --> </div> <!-- amount -->
<div class="pr columns line-b"> <div class="pr columns line-b">
<div class="avatar-wallet left" <div class="avatar-wallet left"
ng-style="{'background-color':index.backgroundColor}">{{index.walletName | limitTo: 1}}</div> ng-style="{'background-color':index.backgroundColor}">{{index.walletName | limitTo: 1}}
</div>
<div class="right"> <div class="right">
<a ng-click="$root.go('preferences')" class="button outline light-gray tiny m0"> <a ng-click="$root.go('preferences')" class="button outline light-gray tiny m0">
<i class="fi-widget size-18 vm"></i> <i class="fi-widget size-18 vm"></i>
@ -85,7 +88,7 @@ index.onGoingProcessName == 'openingWallet'
</div> </div>
</div> </div>
</div> </div>
</div> </div> <!-- oh -->
<div class="m20t" ng-show="index.notAuthorized && ! index.anyOnGoingProcess"> <div class="m20t" ng-show="index.notAuthorized && ! index.anyOnGoingProcess">
@ -106,7 +109,6 @@ index.onGoingProcessName == 'openingWallet'
</div> </div>
</div> </div>
<div ng-show="index.requiresMultipleSignatures && index.txps[0]"> <div ng-show="index.requiresMultipleSignatures && index.txps[0]">
<h4 class="title m0" translate>Spend proposals</h4> <h4 class="title m0" translate>Spend proposals</h4>
<div class="last-transactions pr" ng-repeat="tx in index.txps" <div class="last-transactions pr" ng-repeat="tx in index.txps"
@ -132,7 +134,7 @@ index.onGoingProcessName == 'openingWallet'
ng-include="'views/includes/transaction.html'"> ng-include="'views/includes/transaction.html'">
</div> </div>
</div> </div>
</div> </div>
<!-- <!--
@ -363,7 +365,7 @@ history
<div class="oh text-center"> <div class="oh text-center">
<span ng-if="index.updatingTxHistory" class="text-gray animated flash infinite" translate>Getting transactions...</span> <span ng-if="index.updatingTxHistory" class="text-gray animated flash infinite" translate>Getting transactions...</span>
<span ng-if="!index.updatingTxHistory"> <span ng-if="!index.updatingTxHistory">
<span ng-show="index.txHistoryError && !index.notAuthorized" ng-click='index.openWallet()'> <span ng-show="index.txHistoryError && !index.notAuthorized" ng-click='index.updateTxHistory()'>
<span translate>Could not fetch transaction history</span> <span translate>Could not fetch transaction history</span>
<br> <span translate>Tap to retry</span> <br> <span translate>Tap to retry</span>
</span> </span>