Merge pull request #5417 from cmgustavo/bug/terms-of-use-02
Removes unused button
This commit is contained in:
commit
fc08ce0f94
3 changed files with 1 additions and 18 deletions
|
|
@ -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);
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
@ -430,8 +430,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
||||||
url: '/termsOfUse',
|
url: '/termsOfUse',
|
||||||
views: {
|
views: {
|
||||||
'tab-settings@tabs': {
|
'tab-settings@tabs': {
|
||||||
controller: 'termOfUseController',
|
templateUrl: 'views/termsOfUse.html'
|
||||||
templateUrl: 'views/termsOfUse.html',
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,5 @@
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<div class="item item-text-wrap" id="settings-tos" ng-include="'views/includes/terms.html'"></div>
|
<div class="item item-text-wrap" id="settings-tos" ng-include="'views/includes/terms.html'"></div>
|
||||||
</div>
|
</div>
|
||||||
<button class="button button-standard button-primary"
|
|
||||||
ng-show="lang != 'en'"
|
|
||||||
ng-click="openExternazlLink()" translate>
|
|
||||||
Official English Disclaimer
|
|
||||||
</button>
|
|
||||||
</ion-content>
|
</ion-content>
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue