Merge pull request #2525 from matiu/bug/walletHome

Bug/wallet home
This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-16 12:18:09 -03:00
commit 5ce4269ba7
3 changed files with 9 additions and 1 deletions

View file

@ -66,6 +66,12 @@
</span> </span>
</div> </div>
</form> </form>
<a class="m20t button outline light-gray expand" ng-click="$root.openExternalLink('https://github.com/bitpay/copay/releases/tag/v0.10.0')" translate>
Learn more about Wallet Migration
</a>
</div> </div>

View file

@ -6,7 +6,7 @@
</section> </section>
<section class="middle tab-bar-section"> <section class="middle tab-bar-section">
<h1 class="title ellipsis" translate> <h1 class="title ellipsis" ng-style="{'color':color}" translate>
Copayers Copayers
</h1> </h1>
</section> </section>

View file

@ -6,9 +6,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
$scope.openCopayersModal = function(copayers, copayerId) { $scope.openCopayersModal = function(copayers, copayerId) {
var fc = profileService.focusedClient;
var ModalInstanceCtrl = function($scope, $modalInstance) { var ModalInstanceCtrl = function($scope, $modalInstance) {
$scope.copayers = copayers; $scope.copayers = copayers;
$scope.copayerId = copayerId; $scope.copayerId = copayerId;
$scope.color = fc.backgroundColor;
$scope.cancel = function() { $scope.cancel = function() {
$modalInstance.dismiss('cancel'); $modalInstance.dismiss('cancel');
}; };