2016-08-30 19:00:17 -04:00
< ion-view id = "tab-home" >
2016-08-31 15:54:53 -04:00
< ion-nav-bar class = "bar-royal" >
2016-10-21 01:29:14 -04:00
< ion-nav-title > < img class = "tab-home__logo" src = "img/app/logo-negative.svg" > < / ion-nav-title >
2016-08-17 13:07:48 -03:00
< / ion-nav-bar >
2016-08-18 10:08:23 -03:00
2016-10-21 01:51:00 -04:00
< ion-content >
2016-10-11 12:59:02 -03:00
< ion-refresher
2016-10-14 10:24:20 -03:00
ng-if="isAndroid"
2016-10-11 12:59:02 -03:00
pulling-icon="ion-ios-refresh"
spinner="ios-small"
on-refresh="onRefresh()">
< / ion-refresher >
2016-11-02 10:52:04 -03:00
< div class = "release ng-hide" ng-show = "newRelease" ng-click = "openExternalLink('https://github.com/bitpay/copay/releases/latest', true, 'Update Available', 'An update to this app is available. For your security, please update to the latest version.', 'View Update', 'Go Back')" >
2016-10-26 12:56:33 -03:00
< span translate > An update to this app is available< / span > < span > < i class = "icon bp-arrow-right" > < / i > < / span >
< / div >
2016-11-15 15:09:08 -05:00
< div class = "ng-hide" ng-show = "showRateCard.value" ng-include = "'views/feedback/rateCard.html'" > < / div >
2016-09-27 13:40:42 -04:00
< div class = "list card homeTip" ng-if = "homeTip" >
2016-09-19 12:06:46 -03:00
< div class = "item item-icon-right item-heading" >
2016-09-19 16:31:36 -03:00
< a ng-click = "hideHomeTip()" > < i class = "icon ion-ios-close-empty close-home-tip" > < / i > < / a >
2016-09-19 12:06:46 -03:00
< / div >
2016-09-19 12:08:10 -03:00
< div >
2016-09-19 12:06:46 -03:00
< i class = "icon big-icon-svg" >
2016-09-21 10:52:47 -04:00
< img src = "img/check-white.svg" class = "bg green" / >
2016-09-19 12:06:46 -03:00
< / i >
< / div >
< div class = "title" translate >
Your bitcoin wallet is ready!
< / div >
< div class = "subtitle" translate >
On this screen you can see all your wallets, accounts, and assets.
< / div >
< / div >
2016-09-01 19:14:18 -03:00
< div class = "list card" ng-hide = "!txps[0]" >
2016-09-27 16:01:15 -03:00
< a class = "item item-icon-right item-heading" ui-sref = "tabs.proposals" >
{{'Payment Proposals'|translate}}
2016-10-03 19:55:13 -04:00
< i class = "icon bp-arrow-right" > < / i >
2016-09-27 16:01:15 -03:00
< span class = "badge badge-assertive m5t m10r" ng-show = "txpsN>3" > {{txpsN}}< / span >
2016-09-01 19:14:18 -03:00
< / a >
2016-11-03 17:29:29 -04:00
< div ng-repeat = "tx in txps" ng-click = "openTxpModal(tx)" >
2016-11-08 16:38:31 -05:00
< a class = "wallet-details__item item item-sub" ng-include = "'views/includes/txp.html'" > < / a >
2016-11-03 17:29:29 -04:00
< / div >
2016-09-01 19:14:18 -03:00
< / div >
2016-09-28 15:45:21 -03:00
< div class = "list card" ng-if = "notifications[0] && recentTransactionsEnabled" >
2016-09-23 17:22:03 -03:00
< a class = "item item-icon-right item-heading" ui-sref = "tabs.activity" >
2016-09-27 15:57:39 -03:00
< span translate > Recent Transactions< / span >
2016-10-03 19:55:13 -04:00
< i class = "icon bp-arrow-right" > < / i >
2016-09-01 11:40:43 -04:00
< / a >
2016-10-12 21:17:30 -04:00
< a class = "item item-sub activity" ng-repeat = "notification in notifications" ng-click = "openNotificationModal(notification)" >
2016-09-01 11:40:43 -04:00
< span ng-include = "'views/includes/walletActivity.html'" > < / span >
< / a >
2016-08-18 10:08:23 -03:00
< / div >
2016-09-30 16:12:23 -03:00
< div class = "list card" >
2016-09-23 17:22:03 -03:00
< div class = "item item-icon-right item-heading" >
< span translate > Wallets< / span >
2016-09-30 16:12:23 -03:00
< a ui-sref = "tabs.add" ng-if = "wallets[0]" > < i class = "icon ion-ios-plus-empty list-add-button" > < / i > < / a >
2016-08-18 17:45:59 -03:00
< / div >
2016-10-12 21:17:30 -04:00
< div >
2016-10-17 09:55:20 -03:00
< a ng-if = "!wallets[0]" ui-sref = "tabs.add" class = "item item-icon-left item-big-icon-left item-icon-right next-step" >
2016-10-12 21:17:30 -04:00
< i class = "icon big-icon-svg" >
2016-10-18 18:58:53 -04:00
< img src = "img/icon-wallet.svg" class = "bg wallet icon-create-wallet" / >
2016-10-12 21:17:30 -04:00
< / i >
< span translate > Create a bitcoin wallet< / span >
< i class = "icon bp-arrow-right" > < / i >
< / a >
< a ng-repeat = "wallet in wallets track by $index"
class="item item-sub item-icon-left item-big-icon-left item-icon-right wallet"
ng-click="openWallet(wallet)">
< i class = "icon big-icon-svg" >
2016-10-18 18:58:53 -04:00
< img src = "img/icon-wallet.svg" ng-style = "{'background-color': wallet.color}" class = "bg wallet" / >
2016-10-12 21:17:30 -04:00
< / i >
< span >
{{wallet.name || wallet.id}}
2016-09-16 14:46:25 -03:00
< / span >
2016-10-13 14:41:37 -03:00
< p >
< span ng-if = "!wallet.isComplete()" class = "assertive" translate >
Incomplete
< / span >
< span ng-if = "wallet.isComplete()" >
2016-12-13 12:30:28 -05:00
< span ng-if = "!wallet.balanceHidden" > {{wallet.status.totalBalanceStr}}
< i ng-if = "!wallet.balanceHidden && (status.totalBalanceSat != status.spendableAmount)" class = "tab-home__wallet__status-icon ion-ios-timer-outline" > < / i >
< / span >
2016-10-13 14:41:37 -03:00
< span ng-if = "wallet.balanceHidden" translate > [Balance Hidden]< / span >
2016-10-21 00:52:39 -04:00
< span class = "tab-home__wallet__multisig-number" ng-if = "wallet.n > 1" >
{{wallet.m}}-of-{{wallet.n}}
< / span >
2016-11-14 17:31:36 -03:00
< span class = "assertive" ng-if = "wallet.error" > {{wallet.error}}< / span >
2016-10-13 14:41:37 -03:00
< / span >
< / p >
< i class = "icon bp-arrow-right" > < / i >
< / a >
2016-11-11 18:11:52 -05:00
< / div >
< / div >
2016-10-07 13:51:55 -03:00
2016-11-11 18:11:52 -05:00
< div class = "list card" ng-if = "bitpayCardEnabled && bitpayCards[0] && externalServices.BitpayCard" >
< div class = "item item-icon-right item-heading" >
< span translate > Cards< / span >
< a ui-sref = "tabs.bitpayCardIntro" > < i class = "icon ion-ios-plus-empty list-add-button" > < / i > < / a >
< / div >
< div >
2016-10-13 14:41:37 -03:00
< a ng-repeat = "card in bitpayCards"
ui-sref="tabs.bitpayCard({id:card.id})"
2016-10-21 00:51:20 -04:00
class="item item-sub item-icon-left item-big-icon-left item-icon-right">
2016-10-13 14:41:37 -03:00
< i class = "icon big-icon-svg" >
< div class = "bg icon-bitpay-card" > < / div >
< / i >
2016-11-11 18:11:52 -05:00
< span > BitPay Visa® Card ({{card.lastFourDigits}})< / span >
2016-10-13 14:41:37 -03:00
< p > {{cardsHistory[card.id].balance ? '$' + cardsHistory[card.id].balance : 'Add funds to get started'|translate}}< / p >
< i class = "icon bp-arrow-right" > < / i >
< / a >
< / div >
2016-08-11 18:04:37 -03:00
< / div >
2016-09-30 16:43:38 -03:00
< div class = "list card" ng-if = "wallets[0] && externalServices.BuyAndSell && (glideraEnabled || coinbaseEnabled)" >
2016-12-02 14:36:14 -03:00
< div class = "item item-sub item-icon-right item-heading" >
< span translate > Buy & Sell Bitcoin< / span >
2016-09-16 14:46:25 -03:00
< a ui-sref = "tabs.buyandsell" > < i class = "icon ion-ios-plus-empty list-add-button" > < / i > < / a >
2016-08-24 11:33:43 -03:00
< / div >
2016-10-21 00:50:04 -04:00
< div >
2016-10-21 01:51:00 -04:00
< a ng-if = "glideraEnabled" ui-sref = "tabs.buyandsell.glidera" class = "item item-extra-padding item-sub item-icon-right" >
2016-10-21 00:50:04 -04:00
< img src = "img/glidera-logo.png" width = "90" / >
< i class = "icon bp-arrow-right" > < / i >
< / a >
<!-- disable coinbase for this release -->
<!-- <a ng - if="coinbaseEnabled" ui - sref="exchange.coinbase" class="item">
< img src = "img/coinbase-logo.png" width = "90" > TODO
< / a > -->
< / div >
2016-08-24 11:33:43 -03:00
< / div >
2016-09-30 16:43:38 -03:00
< div class = "list card" ng-if = "wallets[0] && externalServices.AmazonGiftCards && amazonEnabled" >
2016-10-12 21:17:30 -04:00
< a class = "item item-sub item-icon-left item-icon-right item-big-icon-left" ui-sref = "tabs.giftcards.amazon" >
2016-09-16 14:46:25 -03:00
< i class = "icon big-icon-svg" >
2016-10-03 19:55:13 -04:00
< div class = "bg icon-amazon" > < / div >
2016-09-16 14:46:25 -03:00
< / i >
2016-10-03 19:55:13 -04:00
< span translate > Amazon.com Gift Cards< / span >
< i class = "icon bp-arrow-right" > < / i >
2016-09-16 14:46:25 -03:00
< / a >
< / div >
2016-08-31 17:59:41 -03:00
< div class = "list card"
2016-09-30 16:45:55 -03:00
ng-show="nextStepEnabled & & wallets[0]">
2016-12-02 14:36:14 -03:00
< div class = "item item-icon-right item-heading" ng-click = "shouldHideNextSteps()" >
< span translate > Next steps< / span >
2016-10-10 14:12:25 -03:00
< i class = "icon bp-arrow-up" ng-show = "!hideNextSteps" > < / i >
< i class = "icon bp-arrow-down" ng-show = "hideNextSteps" > < / i >
2016-09-26 16:44:47 -03:00
< / div >
2016-09-29 19:24:33 -03:00
< div ng-show = "!hideNextSteps" >
2016-10-21 00:51:20 -04:00
< a ui-sref = "tabs.bitpayCardIntro" ng-if = "!externalServices.BitpayCard && bitpayCardEnabled" class = "item item-sub item-icon-left item-big-icon-left item-icon-right next-step" >
2016-09-26 16:44:47 -03:00
< i class = "icon big-icon-svg" >
< div class = "bg icon-bitpay-card" > < / div >
< / i >
2016-09-30 21:28:25 -04:00
< span translate > Add BitPay Visa® Card< / span >
2016-10-03 19:55:13 -04:00
< i class = "icon bp-arrow-right" > < / i >
2016-09-26 16:44:47 -03:00
< / a >
2016-10-12 21:17:30 -04:00
< a ng-if = "!externalServices.BuyAndSell && (coinbaseEnabled || glideraEnabled)" ui-sref = "tabs.buyandsell.glidera" class = "item item-sub item-icon-left item-big-icon-left item-icon-right next-step" >
2016-09-26 16:44:47 -03:00
< i class = "icon big-icon-svg" >
< div class = "bg icon-buy-bitcoin" > < / div >
< / i >
< span translate > Buy or Sell Bitcoin< / span >
2016-10-03 19:55:13 -04:00
< i class = "icon bp-arrow-right" > < / i >
2016-09-26 16:44:47 -03:00
< / a >
2016-10-12 21:17:30 -04:00
< a ui-sref = "tabs.giftcards.amazon" ng-if = "!externalServices.AmazonGiftCards && amazonEnabled" class = "item item-sub item-icon-left item-big-icon-left item-icon-right next-step" >
2016-09-26 16:44:47 -03:00
< i class = "icon big-icon-svg" >
2016-10-03 19:55:13 -04:00
< div class = "bg icon-amazon" > < / div >
2016-09-26 16:44:47 -03:00
< / i >
2016-10-03 19:55:13 -04:00
< span translate > Buy an Amazon Gift Card< / span >
< i class = "icon bp-arrow-right" > < / i >
2016-09-26 16:44:47 -03:00
< / a >
2016-08-24 19:00:50 -03:00
< / div >
2016-08-11 18:04:37 -03:00
< / div >
2016-08-11 17:38:27 -03:00
< / ion-content >
2016-08-11 18:04:37 -03:00
< / ion-view >