add original english disclaimer link
This commit is contained in:
parent
28e42aa337
commit
6fa4fdffb5
3 changed files with 9 additions and 1 deletions
|
|
@ -845,6 +845,10 @@ msgstr ""
|
|||
msgid "Note"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/disclaimer.html
|
||||
msgid "Official English Disclaimer"
|
||||
msgstr ""
|
||||
|
||||
#: public/views/backup.html
|
||||
msgid "Once you have copy your wallet seed, it is recommended to delete it from this device."
|
||||
msgstr ""
|
||||
|
|
|
|||
|
|
@ -28,6 +28,9 @@
|
|||
<li translate>We reserve the right to modify this disclaimer from time to time.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<p ng-show="lang != 'en'">
|
||||
<a class="center" ng-click="$root.openExternalLink('https://copay.io/disclaimer')" translate>Official English Disclaimer</a>
|
||||
</p>
|
||||
|
||||
<div ng-show="!agreed">
|
||||
<p translate>I affirm that I have read, understood, and agree with these terms.</p>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('disclaimerController',
|
||||
function($scope, $timeout, storageService, applicationService, gettextCatalog, isCordova) {
|
||||
function($scope, $timeout, storageService, applicationService, gettextCatalog, isCordova, uxLanguage) {
|
||||
|
||||
$scope.agree = function() {
|
||||
if (isCordova) {
|
||||
|
|
@ -22,6 +22,7 @@ angular.module('copayApp.controllers').controller('disclaimerController',
|
|||
|
||||
$scope.init = function() {
|
||||
storageService.getCopayDisclaimerFlag(function(err, val) {
|
||||
$scope.lang = uxLanguage.currentLanguage;
|
||||
$scope.agreed = val;
|
||||
$timeout(function() {
|
||||
$scope.$digest();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue