Merge pull request #5417 from cmgustavo/bug/terms-of-use-02

Removes unused button
This commit is contained in:
Javier Donadío 2017-01-06 17:01:39 -03:00 committed by GitHub
commit fc08ce0f94
3 changed files with 1 additions and 18 deletions

View file

@ -1,11 +0,0 @@
'use strict';
angular.module('copayApp.controllers').controller('termOfUseController',
function($scope, appConfigService, uxLanguage, externalLinkService) {
$scope.lang = uxLanguage.currentLanguage;
$scope.disclaimerUrl = appConfigService.disclaimerUrl;
$scope.openExternalLink = function(url, target) {
externalLinkService.open(url, target);
};
});

View file

@ -430,8 +430,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
url: '/termsOfUse',
views: {
'tab-settings@tabs': {
controller: 'termOfUseController',
templateUrl: 'views/termsOfUse.html',
templateUrl: 'views/termsOfUse.html'
}
}
})

View file

@ -9,10 +9,5 @@
<div class="list">
<div class="item item-text-wrap" id="settings-tos" ng-include="'views/includes/terms.html'"></div>
</div>
<button class="button button-standard button-primary"
ng-show="lang != 'en'"
ng-click="openExternazlLink()" translate>
Official English Disclaimer
</button>
</ion-content>
</ion-view>