2016-09-22 06:34:00 -07:00
< ion-view id = "walletDetails" >
2016-09-29 15:04:52 -07:00
< ion-nav-bar ng-style = "{'background-color': wallet.color}" >
< ion-nav-title > {{wallet.name}}< / ion-nav-title >
2016-09-16 08:19:40 -07:00
< ion-nav-back-button >
< / ion-nav-back-button >
2016-09-16 07:30:16 -07:00
< ion-nav-buttons side = "secondary" >
< button class = "button back-button" ng-click = "startSearch(); openSearchModal()" >
< i class = "icon ion-ios-search-strong" > < / i >
< / button >
< / ion-nav-buttons >
< / ion-nav-bar >
2016-10-03 07:52:48 -07:00
2016-10-11 09:17:32 -07:00
< ion-content has-bouncing = "false" >
2016-10-10 11:19:33 -07:00
< ion-refresher
ng-if="isCordova"
pulling-icon="ion-ios-refresh"
spinner="ios-small"
on-refresh="onRefresh()">
< / ion-refresher >
2016-09-06 07:22:10 -07:00
< div class = "oh pr" ng-show = "wallet && wallet.isComplete()" >
2016-08-15 12:07:30 -07:00
< div ng-style = "{'background-color':wallet.color}" class = "amount" >
2016-08-18 06:37:08 -07:00
< div ng-if = "!notAuthorized && !updatingStatus" >
2016-08-15 12:07:30 -07:00
2016-09-29 15:04:52 -07:00
< div ng-show = "updateStatusError" >
< a class = "button button-outline button-light button-small" ng-click = 'update()' translate > Tap to retry< / a >
2016-08-15 06:25:43 -07:00
< / div >
2016-08-15 12:07:30 -07:00
2016-09-29 15:04:52 -07:00
< div ng-show = "walletNotRegistered" >
2016-09-08 08:13:37 -07:00
< span class = "size-12 db m10b" translate > This wallet is not registered at the given Bitcore Wallet Service (BWS). You can recreate it from the local information.< / span >
2016-09-29 15:04:52 -07:00
< a class = "button button-outline button-light button-small" ng-click = 'recreate()' translate > Recreate< / a >
2016-09-08 08:13:37 -07:00
< / div >
2016-08-18 06:37:08 -07:00
< div ng-show = "wallet.walletScanStatus == 'error'" ng-click = 'retryScan()' >
2016-08-15 12:07:30 -07:00
< span translate > Scan status finished with error< / span >
< br > < span translate > Tap to retry< / span >
2016-08-15 06:25:43 -07:00
< / div >
2016-08-15 12:07:30 -07:00
2016-09-29 15:04:52 -07:00
< div ng-click = 'updateAll(true)' ng-show = "!updateStatusError && wallet.walletScanStatus != 'error' && !wallet.balanceHidden" on-hold = "hideToggle()" >
2016-08-17 14:48:30 -07:00
< strong class = "size-36" > {{status.totalBalanceStr}}< / strong >
2016-09-01 12:04:15 -07:00
< div class = "size-14 amount-alternative" ng-if = "status.totalBalanceAlternative" > {{status.totalBalanceAlternative}} {{status.alternativeIsoCode}}< / div >
2016-08-18 06:37:08 -07:00
< div class = "size-14" ng-if = "status.pendingAmount" >
2016-08-17 14:48:30 -07:00
< span translate > Pending Confirmation< / span > : {{status.pendingAmountStr}}
2016-08-15 06:25:43 -07:00
< / div >
2016-08-15 12:07:30 -07:00
< / div >
2016-08-31 07:49:28 -07:00
< div ng-show = "!updateStatusError && wallet.walletScanStatus != 'error' && wallet.balanceHidden" on-hold = "hideToggle()" >
2016-08-15 12:07:30 -07:00
< strong class = "size-24" translate > [Balance Hidden]< / strong >
< div class = "size-14" translate >
Tap and hold to show
2016-08-15 06:25:43 -07:00
< / div >
2016-08-15 12:07:30 -07:00
< / div >
< / div >
2016-08-18 06:37:08 -07:00
< div ng-if = "updatingStatus" >
2016-09-29 15:04:52 -07:00
< div class = "size-36" >
< strong > ...< / strong >
2016-08-15 06:25:43 -07:00
< / div >
2016-09-29 15:04:52 -07:00
< / div >
2016-08-15 12:07:30 -07:00
< / div > <!-- amount -->
2016-08-15 06:25:43 -07:00
2016-10-03 13:32:45 -07:00
< div class = "wallet-details-wallet-info" >
2016-08-15 12:07:30 -07:00
< span ng-include = "'views/includes/walletInfo.html'" > < / span >
< / div >
< / div > <!-- oh -->
< div class = "p60b" ng-show = "wallet && wallet.isComplete()" >
< div class = "oh pr m20t" ng-show = "wallet.incorrectDerivation" >
< div class = "text-center text-warning" >
< i class = "fi-alert" > < / i >
< span translate >
WARNING: Key derivation is not working on this device/wallet. Actions cannot be performed on this wallet.
< / span >
< / div >
< / div >
2016-08-18 06:37:08 -07:00
< div class = "oh pr m20t" ng-show = "notAuthorized && !updatingStatus" >
2016-08-15 12:07:30 -07:00
< div class = "text-center text-warning" >
< i class = "fi-alert" > < / i >
< span translate >
WARNING: Wallet not registered
< / span >
< / div >
< div class = "text-center text-gray m15r m15l" translate >
This wallet is not registered at the given Bitcore Wallet Service (BWS). You can recreate it from the local information.
< / div >
< div class = "text-center m10t " >
< span class = "button outline round dark-gray tiny"
2016-08-18 06:37:08 -07:00
ng-click="recreate()">
2016-08-15 12:07:30 -07:00
< span translate > Recreate< / span >
< / span >
< / div >
< / div >
2016-08-15 06:25:43 -07:00
2016-10-03 13:32:45 -07:00
< div class = "wallet-details-release size-12" ng-show = "newRelease" ng-click = "openExternalLink('https://github.com/bitpay/copay/releases/latest')" >
2016-08-15 12:07:30 -07:00
< span > {{newRelease}}< / span > < i class = "icon-arrow-right3 right size-18" > < / i >
< / div >
2016-08-15 06:25:43 -07:00
2016-08-23 13:31:50 -07:00
2016-10-03 07:52:48 -07:00
< div class = "card list" ng-if = "txps[0]" >
< div class = "item item-heading" translate >
< span ng-show = "requiresMultipleSignatures" translate > Payment Proposals< / span >
< span ng-show = "!requiresMultipleSignatures" translate > Unsent transactions< / span >
< / div >
< div ng-repeat = "tx in txps" class = "item item-icon-left" ng-click = "openTxpModal(tx)" >
< span ng-include = "'views/includes/txp.html'" > < / span >
< / div >
< div class = "item item-footer" ng-show = "status.lockedBalanceSat" >
< span translate > Total Locked Balance< / span > :
< b > {{status.lockedBalanceStr}} < / b >
< span > {{status.lockedBalanceAlternative}} {{status.alternativeIsoCode}} < / span >
< / div >
2016-08-23 13:31:50 -07:00
< / div >
2016-08-18 06:37:08 -07:00
<!-- Transactions -->
2016-08-15 06:25:43 -07:00
2016-08-15 12:07:30 -07:00
< div class = "oh pr m20t text-gray size-12 text-center"
2016-09-29 15:04:52 -07:00
ng-show="!txHistory[0] & & !updatingTxHistory & & !txHistoryError & & !updateStatusError & & !notAuthorized" translate>
No transactions yet
2016-08-15 12:07:30 -07:00
< / div >
2016-09-30 11:58:56 -07:00
< div ng-show = "updatingTxHistory && updatingTxHistoryProgress>5" class = "updatingHistory" >
2016-08-23 08:10:48 -07:00
< div class = "row" >
2016-08-18 13:56:04 -07:00
< ion-spinner class = "spinner-dark" icon = "lines" > < / ion-spinner >
2016-08-23 08:10:48 -07:00
< / div >
< div class = "row" >
< div class = "col" translate > Updating transaction history. Please stand by.< / div >
< / div >
< div class = "row" ng-show = "updatingTxHistoryProgress>0" >
< div class = "col" translate > {{updatingTxHistoryProgress}} transactions downloaded< / div >
2016-08-15 12:07:30 -07:00
< / div >
2016-08-18 13:56:04 -07:00
< / div >
2016-08-15 06:25:43 -07:00
2016-09-07 09:34:47 -07:00
< div class = "card list" ng-show = "txHistory[0]" >
< div class = "item" ng-repeat = "btx in txHistory track by btx.txid" ng-click = "openTxModal(btx)" >
< span class = "item-note text-right" >
< span class = "size-16" ng-class = "{'text-bold': btx.recent}" >
< 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}}
< / span >
< / span >
< p >
< time ng-if = "btx.time" > {{btx.time * 1000 | amTimeAgo}}< / time >
< span translate class = "text-warning"
ng-show="!btx.time & & (!btx.confirmations || btx.confirmations == 0)">
Unconfirmed
< / span >
< / p >
< / span >
< img class = "left m10r" src = "img/icon-receive-history.svg" alt = "sync" width = "40" ng-if = "btx.action == 'received'" >
< img class = "left m10r" src = "img/icon-sent-history.svg" alt = "sync" width = "40" ng-if = "btx.action == 'sent'" >
< img class = "left m10r" src = "img/icon-moved.svg" alt = "sync" width = "40" ng-if = "btx.action == 'moved'" >
2016-08-18 16:54:08 -07:00
2016-09-07 09:34:47 -07:00
< h2 class = "p10t" >
< div ng-if = "btx.action == 'received'" >
2016-08-18 16:54:08 -07:00
< span class = "ellipsis" >
< h2 ng-if = "btx.note.body" > {{btx.note.body}}< / h2 >
< h2 ng-if = "!btx.note.body" translate > Received< / h2 >
2016-08-15 12:07:30 -07:00
< / span >
2016-08-18 16:54:08 -07:00
< / div >
2016-09-07 09:34:47 -07:00
< div ng-if = "btx.action == 'sent'" >
2016-08-18 16:54:08 -07:00
< span class = "ellipsis" >
< h2 ng-if = "btx.message" > {{btx.message}}< / h2 >
< h2 ng-if = "!btx.message && btx.note.body" > {{btx.note.body}}< / h2 >
< h2 ng-if = "!btx.message && !btx.note.body && wallet.addressbook[btx.addressTo]" > {{wallet.addressbook[btx.addressTo]}}< / h2 >
< h2 ng-if = "!btx.message && !btx.note.body && !wallet.addressbook[btx.addressTo]" translate > Sent< / h2 >
2016-08-15 12:07:30 -07:00
< / span >
2016-08-18 16:54:08 -07:00
< / div >
2016-08-15 12:07:30 -07:00
2016-09-07 09:34:47 -07:00
< div ng-if = "btx.action == 'moved'" >
2016-08-18 16:54:08 -07:00
< span class = "ellipsis" >
< h2 ng-if = "btx.note.body" > {{btx.note.body}}< / h2 >
< h2 ng-if = "!btx.note.body" translate > Moved< / h2 >
2016-08-15 12:07:30 -07:00
< / span >
2016-08-15 06:25:43 -07:00
< / div >
2016-08-18 16:54:08 -07:00
< span class = "label tu warning radius" ng-if = "btx.action == 'invalid'" translate > Invalid< / span >
2016-09-07 09:34:47 -07:00
< / h2 >
2016-08-18 16:54:08 -07:00
< / div >
< / div >
2016-10-03 07:52:48 -07:00
< ion-infinite-scroll
ng-if="txHistoryShowMore"
on-infinite="showMore()"
distance="1%">
< / ion-infinite-scroll >
2016-08-15 12:07:30 -07:00
< / ion-content >
< / ion-view >