Removes unused button

This commit is contained in:
Gustavo Maximiliano Cortez 2017-01-06 10:24:39 -03:00
parent 24e694070b
commit 1118e60b63
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
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>