2016-12-28 13:09:59 -03:00
< ion-view id = "txp-details" hide-tabs >
2016-10-21 16:56:19 -04:00
< ion-nav-bar class = "bar-royal" >
< ion-nav-title >
{{title}}
< / ion-nav-title >
< ion-nav-back-button >
< / ion-nav-back-button >
< / ion-nav-bar >
2017-03-10 12:00:57 -03:00
< ion-content class = "tx-details-content" >
< div class = "list" ng-if = "btx" >
2016-10-21 16:56:19 -04:00
< div class = "item head" >
2016-11-03 15:30:41 -04:00
< div class = "sending-label" ng-if = "btx.confirmations > 0" >
2016-11-08 15:36:42 -05:00
< img src = "img/icon-tx-sent-outline.svg" ng-if = "btx.action === 'sent'" >
< img src = "img/icon-tx-received-outline.svg" ng-if = "btx.action === 'received'" >
< img src = "img/icon-tx-moved-outline.svg" ng-if = "btx.action === 'moved'" >
2016-12-13 11:47:46 -03:00
< span ng-if = "btx.action === 'sent'" > {{'Sent' | translate}}< / span >
< span ng-if = "btx.action === 'received'" > {{'Received' | translate}}< / span >
< span ng-if = "btx.action === 'moved'" > {{'Moved' | translate}}< / span >
2016-10-21 16:56:19 -04:00
< / div >
2016-11-03 15:30:41 -04:00
< div class = "sending-label" ng-if = "btx.confirmations === 0" >
< img src = "img/icon-confirming.svg" >
2017-01-23 12:47:07 -03:00
< span ng-if = "btx.action == 'sent' || btx.action == 'moved'" translate > Sending< / span >
< span ng-if = "btx.action == 'received'" translate > Receiving< / span >
2016-11-03 15:30:41 -04:00
< / div >
2016-10-21 16:56:19 -04:00
< div class = "amount-label" >
2018-08-13 13:48:41 +02:00
< div class = "amount" > < formatted-amount value = "{{btx.action == 'sent'?'-':''}}{{btx.amountValueStr}}" currency = "{{btx.amountUnitStr}}" > < / formatted-amount > < / div >
2017-03-07 15:23:02 -03:00
< div class = "alternative" ng-click = "showRate = !showRate" >
2018-08-13 13:48:41 +02:00
< span ng-if = "!showRate" > < formatted-amount value = "{{btx.action == 'sent'?'-':''}}{{btx.alternativeAmountStr}}" > < / formatted-amount > < / span >
2017-03-10 12:00:57 -03:00
< span ng-if = "showRate" >
< span ng-if = "!rate" > ...< / span >
< span ng-if = "rate" >
2018-08-07 16:11:47 +02:00
< formatted-amount value = "{{rate| currency:'':2}}" currency = "{{alternativeIsoCode}}" > < / formatted-amount > ({{rateDate | amDateFormat:'MM/DD/YYYY HH:mm a'}})
2017-03-07 15:23:02 -03:00
< / span >
2016-11-09 10:40:18 -03:00
< / span >
< / div >
2016-10-21 16:56:19 -04:00
< / div >
< / div >
< div class = "info" >
2016-10-21 17:53:36 -04:00
< div class = "item" ng-if = "btx.action === 'sent'" >
2016-10-21 16:56:19 -04:00
< span class = "label" translate > To< / span >
2018-01-31 12:23:44 -04:00
< span ng-if = "addressDisplayType === 'cashAddr'" class = "payment-proposal-to" >
2018-01-31 11:03:18 -04:00
< img ng-if = "!cardId" src = "img/icon-bitcoin-small.svg" >
< img ng-if = "cardId" src = "img/icon-card.svg" width = "34" >
2018-01-31 11:28:52 -04:00
< div copy-to-clipboard = "btx.cashCopyAddr" class = "ellipsis" >
< contact ng-if = "!toName" address = "{{btx.cashAddr}}" class = "ellipsis" style = "display: block;" > < / contact >
2018-01-31 11:03:18 -04:00
< span class = "m15l size-14" ng-if = "toName" > {{toName}}< / span >
< / div >
< / span >
2018-01-31 12:23:44 -04:00
< span ng-if = "addressDisplayType === 'legacy'" class = "payment-proposal-to" >
2016-10-21 16:56:19 -04:00
< img ng-if = "!cardId" src = "img/icon-bitcoin-small.svg" >
< img ng-if = "cardId" src = "img/icon-card.svg" width = "34" >
2018-01-10 12:57:03 +09:00
< div copy-to-clipboard = "btx.copyAddress" class = "ellipsis" >
< contact ng-if = "!toName" address = "{{btx.displayAddress}}" class = "ellipsis" style = "display: block;" > < / contact >
2016-10-21 16:56:19 -04:00
< span class = "m15l size-14" ng-if = "toName" > {{toName}}< / span >
< / div >
< / span >
2018-01-31 12:23:44 -04:00
< button class = "address-info button-address" ng-if = "canToggleAddressType && addressDisplayType === 'cashAddr'" ng-click = "displayAddress('legacy')" >
< span translate > Display legacy address< / span >
< / button >
< button class = "address-info button-address" ng-if = "canToggleAddressType && addressDisplayType === 'legacy'" ng-click = "displayAddress('cashAddr')" >
< span translate > Display new style address< / span >
< / button >
2016-10-21 16:56:19 -04:00
< / div >
2018-01-31 11:03:18 -04:00
2016-10-21 16:56:19 -04:00
< div class = "item" >
2016-10-21 18:47:14 -04:00
< span class = "label" ng-if = "btx.action === 'sent'" translate > From< / span >
2018-01-31 11:28:52 -04:00
< span class = "label" ng-if = "btx.action !== 'sent'" translate > Received To< / span >
2016-10-21 16:56:19 -04:00
< div class = "wallet" >
2017-09-20 11:53:30 -03:00
< i class = "icon big-icon-svg" ng-include = "'views/includes/walletIcon.html'" > < / i >
2016-10-21 16:56:19 -04:00
< div > {{wallet.name}}< / div >
< / div >
2018-01-31 11:28:52 -04:00
< div ng-if = "btx.action === 'received' || btx.action === 'moved'" >
2018-01-31 12:23:44 -04:00
< span ng-repeat = "o in btx.outputs" ng-if = "addressDisplayType === 'cashAddr'" class = "payment-proposal-to" >
2018-01-31 11:28:52 -04:00
< img ng-if = "!cardId" src = "img/icon-bitcoin-small.svg" >
< img ng-if = "cardId" src = "img/icon-card.svg" width = "34" >
< div copy-to-clipboard = "'bitcoincash:' + o.cashAddr" class = "ellipsis" >
< contact address = "{{o.cashAddr}}" class = "ellipsis" style = "display: block;" > < / contact >
< / div >
< / span >
2018-01-31 12:23:44 -04:00
< span ng-repeat = "o in btx.outputs" ng-if = "addressDisplayType === 'legacy'" class = "payment-proposal-to" >
2018-01-31 11:28:52 -04:00
< img ng-if = "!cardId" src = "img/icon-bitcoin-small.svg" >
< img ng-if = "cardId" src = "img/icon-card.svg" width = "34" >
< div copy-to-clipboard = "o.address" class = "ellipsis" >
< contact address = "{{o.address}}" class = "ellipsis" style = "display: block;" > < / contact >
< / div >
< / span >
2018-01-31 12:23:44 -04:00
< button class = "address-info button-address" ng-if = "canToggleAddressType && addressDisplayType === 'cashAddr'" ng-click = "displayAddress('legacy')" >
< span translate > Display legacy address< / span >
< / button >
< button class = "address-info button-address" ng-if = "canToggleAddressType && addressDisplayType === 'legacy'" ng-click = "displayAddress('cashAddr')" >
< span translate > Display new style address< / span >
< / button >
2018-01-31 11:28:52 -04:00
< / div >
2016-10-21 16:56:19 -04:00
< / div >
2017-03-07 15:23:02 -03:00
< div class = "item single-line" ng-if = "btx.action != 'received' && isShared" >
2016-10-27 12:24:50 -03:00
< span class = "label" translate > Created by< / span >
< span class = "item-note" >
2017-03-07 15:23:02 -03:00
{{btx.creatorName}}
< / span >
< / div >
< div class = "item single-line" ng-if = "btx.ts || btx.createdOn || btx.time" >
< span class = "label" translate > Date< / span >
< span class = "item-note" >
< time > {{ (btx.ts || btx.createdOn || btx.time) * 1000 | amDateFormat:'MM/DD/YYYY hh:mm a'}}< / time >
2016-10-27 12:24:50 -03:00
< / span >
< / div >
2018-02-08 16:30:47 -04:00
< div class = "item single-line" >
2018-03-22 11:50:26 +09:00
< span class = "label flex" translate >
2018-02-08 16:30:47 -04:00
Memo:  
2018-03-22 11:50:26 +09:00
< textarea elastic placeholder = "{{btx.note.body || btx.message || 'Enter text here'}}" ng-model = "btx.note.body" ng-blur = "updateNote(btx.note.body)" > < / textarea >
2018-02-08 16:30:47 -04:00
< / span >
< / div >
2017-06-22 10:39:09 -03:00
< div class = "item" ng-if = "btx.action != 'received'" >
2016-10-21 17:16:35 -04:00
< span class = "label" translate > Fee< / span >
2017-06-21 11:11:40 -03:00
< span class = "m10l" > {{btx.feeStr || '...'}}< / span >
< span class = "item-note m10l" >
2018-08-07 16:11:47 +02:00
< span > < span ng-if = "btx.feeFiatStr" > < formatted-amount value = "{{btx.feeFiatStr}}" > < / formatted-amount > < / span > < span ng-if = "!btx.feeFiatStr" > ...< / span > < span class = "fee-rate" ng-if = "btx.feeRateStr" translate > - {{btx.feeRateStr}} of the transaction< / span > < / span >
2016-10-21 16:56:19 -04:00
< / span >
< / div >
2017-04-12 12:27:51 -03:00
< div class = "item low-fees" ng-if = "btx.action == 'received' && btx.lowFees" >
< i class = "icon" > < img src = "img/icon-warning.png" width = "20px" > < / i >
< span translate > This transaction could take a long time to confirm or could be dropped due to the low fees set by the sender< / span >
< / div >
2017-06-22 11:38:13 -03:00
< div class = "item low-fees" ng-if = "btx.lowAmount" >
< i class = "icon" > < img src = "img/icon-warning.png" width = "20px" > < / i >
2017-06-22 13:44:49 -03:00
< span translate >
2017-09-04 15:48:11 -03:00
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.
2017-08-30 10:25:53 -03:00
< / span >
2017-09-04 15:48:11 -03:00
< a ng-click = "readMore()" translate > Learn more< / a >
2017-06-22 11:38:13 -03:00
< / div >
2017-08-30 10:25:53 -03:00
2017-03-07 16:57:09 -03:00
< div class = "item single-line" >
2016-11-03 15:24:39 -04:00
< span class = "label" translate > Confirmations< / span >
2016-11-02 12:36:13 -03:00
< span class = "item-note" >
2017-03-10 12:00:57 -03:00
< span ng-if = "!btx.confirmations || btx.confirmations == 0" translate >
2016-11-02 12:36:13 -03:00
Unconfirmed
< / span >
2017-03-10 12:00:57 -03:00
< span ng-if = "btx.confirmations>0 && !btx.safeConfirmed" >
2016-11-02 12:36:13 -03:00
{{btx.confirmations}}
< / span >
2017-03-10 12:00:57 -03:00
< span ng-if = "btx.safeConfirmed" >
2016-11-02 12:36:13 -03:00
{{btx.safeConfirmed}}
< / span >
2016-11-03 15:24:39 -04:00
< / span >
< / div >
2017-07-14 15:45:18 -03:00
< div ng-if = "txsUnsubscribedForNotifications" >
2017-07-13 11:12:15 -03:00
< ion-toggle ng-show = "!btx.confirmations || btx.confirmations == 0"
class="toggle-unconfirmed"
ng-model="txNotification.value"
toggle-class="toggle-balanced"
ng-change="txConfirmNotificationChange()">
< span class = "toggle-label" translate > Notify me if confirmed< / span >
< / ion-toggle >
< / div >
2016-10-21 18:06:51 -04:00
< div ng-if = "actionList[0]" >
< div class = "item item-divider" translate > Timeline< / div >
2017-01-06 15:45:36 -03:00
< div class = "item timeline-item" ng-class = "{'action-created' : a.type == 'created' || a.type == 'accept', 'action-rejected' : a.type == 'reject'}" ng-repeat = "a in actionList track by $index" >
2016-10-21 18:06:51 -04:00
< div class = "timeline-content" >
< div class = "timeline-content__icon" >
< div class = "rejected" ng-if = "a.type === 'reject'" > !< / div >
2016-10-21 18:13:12 -04:00
< img src = "img/icon-broadcasted.svg" ng-if = "a.type === 'broadcasted'" >
< div ng-if = "a.type !== 'reject' && a.type !== 'broadcasted'" >
{{actionList.length - $index}}
< / div >
2016-10-21 18:06:51 -04:00
< / div >
< div class = "timeline-content__label" >
< div class = "action" > {{a.description}}< / div >
< div class = "name" > {{a.by}}< / div >
< / div >
< div >
< span class = "item-note" >
2016-10-27 12:24:50 -03:00
< time > {{ a.time * 1000 | amTimeAgo}}< / time >
2016-10-21 18:06:51 -04:00
< / span >
< / div >
< / div >
< / div >
< / div >
2016-10-21 16:56:19 -04:00
< / div >
2016-10-21 18:06:51 -04:00
2016-10-21 16:56:19 -04:00
< / div >
2017-03-10 12:00:57 -03:00
< button ng-if = "btx" class = "view-on-blockchain-btn button button-standard button-primary" ng-click = "viewOnBlockchain()" translate >
2016-10-21 18:40:37 -04:00
View on blockchain
2016-10-21 19:13:14 -04:00
< / button >
2016-10-21 18:40:37 -04:00
2016-10-21 18:06:51 -04:00
< / ion-content >
2016-10-21 16:56:19 -04:00
< / ion-view >