Merge pull request #137 from Bitcoin-com/wallet/task/346
Store banner on Home tab
This commit is contained in:
commit
8f5f01eea1
4 changed files with 17 additions and 0 deletions
|
|
@ -155,6 +155,10 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
externalLinkService.open(url, optIn, title, message, okText, cancelText);
|
||||
};
|
||||
|
||||
$scope.openStore = function() {
|
||||
externalLinkService.open('https://store.bitcoin.com/', false);
|
||||
};
|
||||
|
||||
$scope.openNotificationModal = function(n) {
|
||||
wallet = profileService.getWallet(n.walletId);
|
||||
|
||||
|
|
|
|||
|
|
@ -58,6 +58,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
&-banner {
|
||||
padding: 0;
|
||||
&__img {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
.wallet-coin-logo {
|
||||
vertical-align: middle;
|
||||
|
|
|
|||
BIN
www/img/banner-store.png
Normal file
BIN
www/img/banner-store.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 642 KiB |
|
|
@ -85,6 +85,12 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="list card card-banner">
|
||||
<a ng-click="openStore()">
|
||||
<img class="card-banner__img" src="img/banner-store.png"/>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="ng-hide list card" ng-show="walletsBtc[0] && bitpayCardItems.length>0" ng-include="'views/includes/bitpayCardsCard.html'"></div>
|
||||
<div class="ng-hide list card" ng-show="walletsBtc[0] && buyAndSellItems.length>0" ng-include="'views/includes/buyAndSellCard.html'"></div>
|
||||
<div class="ng-hide list card" ng-show="homeIntegrations.length>0" ng-include="'views/includes/homeIntegrations.html'"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue