Merge pull request #5520 from JDonadio/ref/update-available
Update available - Desktop
This commit is contained in:
commit
ed45495ae2
4 changed files with 50 additions and 17 deletions
|
|
@ -32,8 +32,12 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
$log.warn(err);
|
||||
return;
|
||||
}
|
||||
|
||||
if (newRelease) $scope.newRelease = true;
|
||||
if (newRelease) {
|
||||
$scope.newRelease = true;
|
||||
$scope.updateText = gettextCatalog.getString('There is a new version of {{appName}} available', {
|
||||
appName: $scope.name
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -213,7 +217,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
walletService.getStatus(wallet, {}, function(err, status) {
|
||||
if (err) {
|
||||
|
||||
wallet.error = (err === 'WALLET_NOT_REGISTERED') ? gettextCatalog.getString('Wallet not registered') : bwcError.msg(err);
|
||||
wallet.error = (err === 'WALLET_NOT_REGISTERED') ? gettextCatalog.getString('Wallet not registered') : bwcError.msg(err);
|
||||
|
||||
$log.error(err);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -121,18 +121,24 @@
|
|||
}
|
||||
}
|
||||
.release {
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
background-color: #E9E9EC;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 20px;
|
||||
text-align: center;
|
||||
color: #444;
|
||||
i {
|
||||
margin-top: 1px;
|
||||
font-size: 20px;
|
||||
margin-left: 10px;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
.item {
|
||||
width: 100%;
|
||||
}
|
||||
.title {
|
||||
font-weight: 700;
|
||||
color: #444;
|
||||
}
|
||||
.button {
|
||||
width: 100%;
|
||||
border: none;
|
||||
}
|
||||
.big-icon-svg {
|
||||
> .bg {
|
||||
box-shadow: none;
|
||||
}
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue