From 445a4e3ca9f080e21a16e8c4371c8aaf07025b6d Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 20 Nov 2014 11:42:05 -0300 Subject: [PATCH 1/3] little fix tables --- css/src/main.css | 8 ++++---- views/includes/transaction.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index 549f9067b..29471e041 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -884,9 +884,9 @@ label small.has-error { table { border-collapse: collapse; text-align: left; width: 100%; border: none; box-shadow: -2px 1px 9px 1px #DDDDDD; - -moz-box-shadow: 1.5px 1.5px 0px 0px rgba(32,48,64,0.10); - box-shadow: 2px 2px 0px 0px rgba(32,48,64,0.10); - -o-box-shadow: 2px 2px 0px 0px rgba(32,48,64,0.10); + -webkit-box-shadow: -2px 1px 5px 1px #DDDDDD; + -moz-box-shadow: -2px 1px 5px 1px #DDDDDD; + -o-box-shadow: -2px 1px 5px 1px #DDDDDD; } thead tr{ @@ -1583,4 +1583,4 @@ a.text-warning:hover {color: #FD7262;} margin-top: 20%; width: 100%; text-align: center; -} \ No newline at end of file +} diff --git a/views/includes/transaction.html b/views/includes/transaction.html index aaff45bcb..dbe6da338 100644 --- a/views/includes/transaction.html +++ b/views/includes/transaction.html @@ -21,7 +21,7 @@ -
+

{{tx.merchant.pr.pd.memo}} From cfb7383b2ded66e5749a7ab1b31c26077591430e Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 20 Nov 2014 11:42:56 -0300 Subject: [PATCH 2/3] Cancel/clear form when using payment protocol --- js/controllers/send.js | 10 ++++++++++ views/send.html | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/js/controllers/send.js b/js/controllers/send.js index c9e9aa774..88a67ef58 100644 --- a/js/controllers/send.js +++ b/js/controllers/send.js @@ -492,6 +492,16 @@ angular.module('copayApp.controllers').controller('SendController', } }; + $scope.cancelSend = function(form) { + delete $rootScope.merchant; + $rootScope.merchantError = false; + form.address.$setViewValue(''); + form.address.$render(); + form.amount.$setViewValue(''); + form.comment.$setViewValue(''); + form.$setPristine(); + }; + $scope.onChanged = function() { var value = $scope.address || ''; var uri; diff --git a/views/send.html b/views/send.html index 621b46a12..2b2d03b2c 100644 --- a/views/send.html +++ b/views/send.html @@ -173,7 +173,12 @@

-
+ +
From 29a4bd32e30e8853714fbd6df006cbbda9e68d30 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 20 Nov 2014 11:43:21 -0300 Subject: [PATCH 3/3] add paypro info to history --- views/history.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/views/history.html b/views/history.html index 4f08e7074..da3e73091 100644 --- a/views/history.html +++ b/views/history.html @@ -69,6 +69,12 @@
+
+

+ {{btx.merchant.pr.pd.memo}} +

+ [{{btx.merchant.domain}}] +