2015-03-06 07:00:10 -08:00
|
|
|
<nav class="tab-bar">
|
2015-05-07 07:07:33 -07:00
|
|
|
<section class="left-small">
|
2015-05-04 15:23:18 -07:00
|
|
|
<a ng-click="cancel()" class="p10">
|
2015-03-06 07:00:10 -08:00
|
|
|
<span class="text-close" translate>Close</span>
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
<section class="middle tab-bar-section">
|
2015-04-11 13:12:44 -07:00
|
|
|
<h1 class="title ellipsis" ng-style="{'color':color}" translate>
|
2015-03-06 07:00:10 -08:00
|
|
|
Transaction proposal
|
|
|
|
</h1>
|
|
|
|
</section>
|
|
|
|
</nav>
|
|
|
|
<div class="p45t" ng-init="updateCopayerList()">
|
2015-04-21 22:48:00 -07:00
|
|
|
<h4 class="title m0" translate>Information</h4>
|
2015-03-06 07:00:10 -08:00
|
|
|
<ul class="no-bullet size-14 m0">
|
2015-04-26 22:31:07 -07:00
|
|
|
<li class="line-b p10 oh" ng-click="copyAddress(tx.toAddress)">
|
2015-04-22 11:19:08 -07:00
|
|
|
<span class="text-gray" translate>To</span>:
|
2015-04-26 22:31:07 -07:00
|
|
|
<span class="right enable_text_select">{{tx.toAddress}}</span>
|
2015-03-06 07:00:10 -08:00
|
|
|
</li>
|
|
|
|
<li class="line-b p10">
|
2015-04-22 11:19:08 -07:00
|
|
|
<span class="text-gray" translate>Amount</span>:
|
2015-04-24 06:32:00 -07:00
|
|
|
<span class="right">{{amountStr}}
|
2015-04-16 08:14:23 -07:00
|
|
|
<span class="label gray radius">{{alternativeAmountStr}}</span>
|
2015-03-06 07:00:10 -08:00
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li class="line-b p10">
|
2015-04-22 11:19:08 -07:00
|
|
|
<span class="text-gray" translate>Time</span>:
|
2015-03-06 07:00:10 -08:00
|
|
|
<span class="right">
|
|
|
|
<time>{{ (tx.ts || tx.createdOn ) * 1000 | amTimeAgo}}</time>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li class="line-b p10 oh">
|
2015-04-22 11:19:08 -07:00
|
|
|
<span class="text-gray" translate>Created by</span>:
|
2015-03-06 07:00:10 -08:00
|
|
|
<span class="right">{{tx.creatorName}}</span>
|
|
|
|
</li>
|
|
|
|
<li class="line-b p10 oh">
|
2015-04-22 11:19:08 -07:00
|
|
|
<span class="text-gray" translate>Note</span>:
|
2015-03-06 07:00:10 -08:00
|
|
|
<span class="right">{{tx.message}}</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div ng-if="tx.paypro">
|
2015-04-22 11:19:08 -07:00
|
|
|
<h4 class="title m0" translate>Payment details</h4>
|
2015-03-06 07:00:10 -08:00
|
|
|
<ul class="no-bullet size-14 m0">
|
|
|
|
<li class="line-b p10">
|
2015-04-22 11:19:08 -07:00
|
|
|
<span class="text-gray" translate>To</span>:
|
2015-03-06 07:00:10 -08:00
|
|
|
<span class="right">
|
2015-04-24 06:32:00 -07:00
|
|
|
<span>
|
2015-03-06 07:00:10 -08:00
|
|
|
<span ng-show="tx.merchant.pr.ca"><i class="fi-lock"></i> {{tx.paypro.domain}}</span>
|
|
|
|
<span ng-show="!tx.merchant.pr.ca"><i class="fi-unlock"></i> {{tx.paypro.domain}}</span>
|
|
|
|
</span>
|
|
|
|
<contact address="{{tx.toAddress}}" ng-hide="tx.merchant"></contact>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li class="line-b p10">
|
2015-04-22 11:19:08 -07:00
|
|
|
<span class="text-gray" translate>Expires</span>:
|
2015-03-06 07:00:10 -08:00
|
|
|
<span class="right">
|
|
|
|
<time>{{tx.paypro.expirationDate | amTimeAgo }}</time>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li class="line-b p10">
|
|
|
|
<span class="text-gray">Merchant Message:</span>
|
|
|
|
<span class="db">{{tx.paypro.pr.pd.memo}}</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div ng-if="tx.actions[0] && !txRejected && !txBroadcasted">
|
2015-04-22 11:19:08 -07:00
|
|
|
<h4 class="title m0" translate>Signatures</h4>
|
2015-03-06 07:00:10 -08:00
|
|
|
<ul class="no-bullet size-14 m0">
|
|
|
|
<li class="line-b p10 text-gray" ng-repeat="ac in tx.actions">
|
|
|
|
<i class="icon-contact size-24"></i>
|
|
|
|
<span>{{ac.copayerName}}</span>
|
|
|
|
<span class="right">
|
|
|
|
<i ng-if="ac.type == 'reject'" class="fi-x icon-sign x db"></i>
|
|
|
|
<i ng-if="ac.type == 'accept'" class="fi-check icon-sign check db"></i>
|
|
|
|
<i ng-if="!ac.type" class="fi-loop"></i>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="box-notification" ng-show="error">
|
|
|
|
<span class="text-warning size-14">
|
|
|
|
{{error|translate}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2015-04-21 22:48:00 -07:00
|
|
|
<div class="row column m20t text-center text-warning" ng-if="tx.removed" translate>
|
2015-03-06 07:00:10 -08:00
|
|
|
The transaction was removed by creator
|
2015-04-24 06:32:00 -07:00
|
|
|
</div>
|
2015-03-06 07:00:10 -08:00
|
|
|
|
|
|
|
<div class="row m20t" ng-if="tx.pendingForUs">
|
|
|
|
<div class="large-5 medium-5 small-6 columns">
|
2015-04-24 06:32:00 -07:00
|
|
|
<button class="button outline dark-gray m0 expand" ng-click="reject(tx);"
|
2015-03-06 07:00:10 -08:00
|
|
|
ng-disabled="loading">
|
2015-04-24 06:32:00 -07:00
|
|
|
<i class="fi-x"></i>
|
2015-03-06 07:00:10 -08:00
|
|
|
<span translate>Reject</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="large-5 medium-5 small-6 columns text-right">
|
2015-04-24 06:32:00 -07:00
|
|
|
<button class="button primary m0 expand" ng-click="sign(tx)"
|
|
|
|
ng-style="{'background-color':color}"
|
2015-03-06 07:00:10 -08:00
|
|
|
ng-disabled="loading">
|
2015-04-24 06:32:00 -07:00
|
|
|
<i class="fi-check"></i>
|
2015-03-06 07:00:10 -08:00
|
|
|
<span translate>Sign</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-04-17 14:10:22 -07:00
|
|
|
<div class="text-center text-gray" ng-show="tx.status != 'pending'">
|
2015-04-24 06:32:00 -07:00
|
|
|
<div class="m10t"
|
2015-04-16 08:14:23 -07:00
|
|
|
ng-show="tx.status=='accepted'" translate>
|
2015-04-17 14:10:22 -07:00
|
|
|
Transaction accepted...
|
|
|
|
</div>
|
2015-04-24 06:32:00 -07:00
|
|
|
<div class="m10t"
|
2015-04-17 14:10:22 -07:00
|
|
|
ng-show="!loading && tx.status!='broadcasted' && tx.status=='accepted' && tx.status!='rejected'">
|
|
|
|
<div translate>But not broadcasted. Try to send manually</div>
|
|
|
|
<button class="primary"
|
|
|
|
ng-click="broadcast(tx)"
|
|
|
|
ng-disabled="loading"> <i class="fi-upload-cloud"></i>
|
|
|
|
<span translate>Broadcast Transaction</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2015-04-24 06:32:00 -07:00
|
|
|
<div class="text-success m10t"
|
2015-04-17 14:10:22 -07:00
|
|
|
ng-show="tx.status=='broadcasted'" translate>
|
2015-04-16 08:14:23 -07:00
|
|
|
Transaction sent!
|
2015-03-06 07:00:10 -08:00
|
|
|
</div>
|
|
|
|
<div class="text-center text-warning"
|
2015-04-16 08:14:23 -07:00
|
|
|
ng-show="tx.status=='rejected'" translate>
|
2015-03-06 07:00:10 -08:00
|
|
|
Transaction finally rejected
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-04-21 22:48:00 -07:00
|
|
|
|
|
|
|
<div class="row column m20t" ng-if="tx.couldRemove">
|
2015-04-28 09:58:19 -07:00
|
|
|
<div class="text-gray size-12 text-center m20b" show="tx.couldRemove" translate>
|
|
|
|
* Only transactions created by yourself with no peer signatures can be removed
|
|
|
|
</div>
|
2015-04-24 06:32:00 -07:00
|
|
|
<button class="tiny expand outline dark-gray" ng-click="remove(tx)"
|
2015-04-21 22:48:00 -07:00
|
|
|
ng-disabled="loading" ng-show="tx.couldRemove">
|
2015-04-24 06:56:37 -07:00
|
|
|
<i class="fi-trash size-14 m5r"></i>
|
2015-04-21 22:48:00 -07:00
|
|
|
<span translate>Remove transaction</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
2015-03-06 07:00:10 -08:00
|
|
|
</div>
|
|
|
|
<div class="extra-margin-bottom"></div>
|