diff --git a/src/js/controllers/tx-details.js b/src/js/controllers/tx-details.js index 0c277e469..ebd44f6a5 100644 --- a/src/js/controllers/tx-details.js +++ b/src/js/controllers/tx-details.js @@ -40,6 +40,16 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio }); }); + $scope.readMore = function() { + var url = 'https://github.com/bitpay/copay/wiki/COPAY---FAQ#amount-too-low-to-spend'; + var optIn = true; + var title = null; + var message = gettextCatalog.getString('Read more in our Wiki'); + var okText = gettextCatalog.getString('Open'); + var cancelText = gettextCatalog.getString('Go Back'); + externalLinkService.open(url, optIn, title, message, okText, cancelText); + }; + function updateMemo() { walletService.getTxNote($scope.wallet, $scope.btx.txid, function(err, note) { if (err) { diff --git a/src/sass/views/includes/txp-details.scss b/src/sass/views/includes/txp-details.scss index 8d21570f4..3c72898c3 100644 --- a/src/sass/views/includes/txp-details.scss +++ b/src/sass/views/includes/txp-details.scss @@ -99,6 +99,9 @@ i { padding-right: 20px; } + span { + display: inline; + } } } .toggle-unconfirmed { diff --git a/www/views/tx-details.html b/www/views/tx-details.html index de7ab9977..fbf1cc6ab 100644 --- a/www/views/tx-details.html +++ b/www/views/tx-details.html @@ -91,9 +91,11 @@
-This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network fee cost comparable to the funds itself. + This transaction amount is too small compared to current Bitcoin network fees. Spending these funds will need a Bitcoin network fee cost comparable + to the funds itself. Read more +
- +
Confirmations