Replace $root.go directive for href ui-sref
This commit is contained in:
parent
5f7b68d32f
commit
2f8c42ca25
14 changed files with 120 additions and 110 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<div
|
||||
class="topbar-container"
|
||||
<div
|
||||
class="topbar-container"
|
||||
ng-include="'views/includes/topbar.html'"
|
||||
ng-init="titleSection='Wallet Information'; goBackToState = 'preferencesAdvanced'">
|
||||
</div>
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
</span>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="line-b p20 oh">
|
||||
<span translate>Derivation Strategy</span>
|
||||
<span class="right text-gray">
|
||||
|
|
@ -77,7 +77,7 @@
|
|||
No private key
|
||||
</span>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="line-b p20 oh" ng-show="index.account">
|
||||
<span translate>Account</span> ({{derivationStrategy}})
|
||||
<span class="right text-gray">
|
||||
|
|
@ -110,13 +110,13 @@
|
|||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div ng-show="addrs">
|
||||
<h4 class="title m0" translate>Last Wallet Addresses</h4>
|
||||
<ul class="no-bullet m0">
|
||||
<li ng-repeat="a in addrs" class="oh">
|
||||
<div class="enable_text_select ellipsis">
|
||||
{{a.address}}
|
||||
{{a.address}}
|
||||
</div>
|
||||
<div class="text-gray size-12 right enable_text_select">
|
||||
{{a.path}} · {{a.createdOn *1000 | amDateFormat:'MMMM Do YYYY, h:mm a' }}
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
</div>
|
||||
|
||||
<ul class="no-bullet m0">
|
||||
<li ng-style="{'color':index.backgroundColor}" ng-click="index.retryScan(); $root.go('walletHome')" translate>
|
||||
<li ng-style="{'color':index.backgroundColor}" href ui-sref="walletHome" ng-click="index.retryScan()" translate>
|
||||
Scan addresses for funds
|
||||
</li>
|
||||
<li ng-style="{'color':index.backgroundColor}" ng-show="index.isCordova" ng-click="info.sendAddrs()" translate>
|
||||
|
|
@ -142,10 +142,10 @@
|
|||
<h4 class="title m0" translate>Balance By Address</h4>
|
||||
<li class="line-b p20 oh" ng-repeat="a in index.balanceByAddress">
|
||||
<div class="enable_text_select ellipsis">
|
||||
{{a.address}}
|
||||
{{a.address}}
|
||||
</div>
|
||||
<div class="text-gray text-right">
|
||||
{{(a.amount/1e8).toFixed(8)}} BTC
|
||||
{{(a.amount/1e8).toFixed(8)}} BTC
|
||||
</div>
|
||||
</li>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue