diff --git a/css/src/main.css b/css/src/main.css index fc7ce92b0..84b52d60f 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -414,6 +414,13 @@ a:hover { background-color: #C0392A; } +.box-notification .box-icon.secondary { + background-color: #3498DB; +} + + + + .box-notification a.close-notification { position: absolute; top: 8px; diff --git a/js/controllers/send.js b/js/controllers/send.js index ae46f8066..2ccd1079d 100644 --- a/js/controllers/send.js +++ b/js/controllers/send.js @@ -399,7 +399,11 @@ angular.module('copayApp.controllers').controller('SendController', if (err) { copay.logger.warn(err); $scope.resetForm(); - $scope.error = err.toString(); + var msg = err.toString(); + if (msg.match('HTTP')) { + msg = 'Could not fetch payment information'; + } + $scope.error = msg; } else { $scope._merchantData = merchantData; $scope._domain = merchantData.domain; diff --git a/views/send.html b/views/send.html index 2e6a4597b..041cb840b 100644 --- a/views/send.html +++ b/views/send.html @@ -6,7 +6,22 @@ -
+
+
+
+
+
+ +
+ + Fetching Payment Information... + +
+
+
+
+ +
@@ -17,6 +32,7 @@ {{error|translate}} + ×
@@ -25,6 +41,7 @@ {{success|translate}} + ×
@@ -67,10 +84,10 @@ Payment to -
- - -
+
+ + +
@@ -120,15 +137,6 @@
- -
-
-

>> - - Fetching payment request -

-
-