Merge pull request #70 from cmgustavo/ref/design-21
Fix openExtenalLink
This commit is contained in:
commit
6485cd1bdf
2 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
<ion-content ng-controller="termsController" ng-init="accept = false;">
|
||||
<div ng-include="'views/includes/terms.html'"></div>
|
||||
<div class="padding-vertical" ng-show="lang != 'en'">
|
||||
<a ng-click="openExternalLink('https://copay.io/disclaimer')" translate>Official English Disclaimer</a>
|
||||
<a ng-click="openExternalLink(disclaimerUrl)" translate>Official English Disclaimer</a>
|
||||
</div>
|
||||
<div id="agree-to-terms">
|
||||
<ion-checkbox ng-model="accept"></ion-checkbox>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
angular.module('copayApp.controllers').controller('termsController', function($scope, $log, $state, uxLanguage, profileService, externalLinkService) {
|
||||
$scope.lang = uxLanguage.currentLanguage;
|
||||
$scope.disclaimerUrl = $window.appConfig.disclaimerUrl;
|
||||
|
||||
$scope.confirm = function() {
|
||||
profileService.setDisclaimerAccepted(function(err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue