From a6bab6da4ca195b442b647ab278febcccf6c3cd5 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Thu, 8 May 2014 18:14:49 -0300 Subject: [PATCH] show transaction id, and link to insight --- index.html | 12 ++++++++---- js/controllers/transactions.js | 5 ++++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index f86ddb2a5..297562ac5 100644 --- a/index.html +++ b/index.html @@ -395,9 +395,11 @@ Transaction finally rejected

- - - Sent at {{tx.sentTs | date:'medium'}} + + Sent at {{tx.sentTs | date:'medium'}} | + Transaction ID: + + {{tx.sentTxid}}

@@ -420,7 +422,9 @@

- ID: {{btx.txid}} + + {{btx.txid}} +
{{btx.firstSeenTs * 1000 | date:'medium'}} diff --git a/js/controllers/transactions.js b/js/controllers/transactions.js index 74ddbb9dc..fdb023799 100644 --- a/js/controllers/transactions.js +++ b/js/controllers/transactions.js @@ -70,7 +70,6 @@ angular.module('copay.transactions').controller('TransactionsController', if (p.builder.isFullySigned()) { $scope.send(ntxid); _updateTxs(); -// $rootScope.$digest(); } else { _updateTxs(); @@ -92,6 +91,10 @@ angular.module('copay.transactions').controller('TransactionsController', } }; + $scope.getShortNetworkName = function() { + return config.networkName.substring(0,4); + }; + $scope.reject = function (ntxid) { $scope.loading = true; var w = $rootScope.wallet;