2014-10-30 10:13:40 -07:00
|
|
|
<div class="transactions" data-ng-controller="HistoryController" data-ng-init="update()">
|
2014-07-22 07:27:10 -07:00
|
|
|
<div ng-show='$root.wallet.isReady()'>
|
2014-10-30 17:32:49 -07:00
|
|
|
<div ng-if="loading" class="m10b">
|
|
|
|
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
|
|
|
|
<span translate>Loading...</span>
|
2014-07-16 13:59:28 -07:00
|
|
|
</div>
|
2014-10-30 17:32:49 -07:00
|
|
|
<div ng-if="!blockchain_txs[0].txid && !loading">
|
|
|
|
<em><strong translate>No transactions yet.</strong></em>
|
|
|
|
</div>
|
2014-10-31 08:04:59 -07:00
|
|
|
<div class="panel large-12 columns" ng-repeat="btx in blockchain_txs | orderBy: 'time':true" ng-click="btx.showDetails = !btx.showDetails">
|
2014-10-31 05:33:00 -07:00
|
|
|
<div class="row collapse size-12">
|
|
|
|
<div class="large-3 medium-3 small-4 columns">
|
2014-10-30 17:32:49 -07:00
|
|
|
<span ng-hide="btx.ts"> </span>
|
|
|
|
<time ng-if="btx.ts">{{btx.ts | amCalendar}}</time>
|
|
|
|
<span class="label alert" ng-show="!btx.ts && (!btx.confirmations || btx.confirmations == 0)">
|
|
|
|
<span translate>Unconfirmed</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
2014-07-16 13:59:28 -07:00
|
|
|
|
2014-10-31 05:33:00 -07:00
|
|
|
<div class="large-2 medium-2 small-5 columns">
|
2014-10-30 17:32:49 -07:00
|
|
|
{{btx.amount| noFractionNumber}} {{$root.wallet.settings.unitName}}
|
|
|
|
{{btx.action}}
|
|
|
|
</div>
|
2014-10-30 12:46:39 -07:00
|
|
|
|
2014-10-30 17:32:49 -07:00
|
|
|
<div class="large-2 medium-2 columns hide-for-small-only">
|
|
|
|
<span ng-hide="btx.labelTo"> </span>
|
|
|
|
<span ng-show="btx.labelTo">{{ (btx.action == 'received' ? 'on' : 'to') | translate }} {{btx.labelTo}}</span>
|
|
|
|
</div>
|
2014-10-30 12:46:39 -07:00
|
|
|
|
2014-10-30 17:32:49 -07:00
|
|
|
<div class="large-3 medium-3 small-4 columns hide-for-small-only">
|
|
|
|
<span ng-show="btx.comment">{{btx.comment}}</span>
|
|
|
|
</div>
|
2014-10-30 12:46:39 -07:00
|
|
|
|
2014-10-31 08:04:59 -07:00
|
|
|
<div class="large-1 medium-1 small-1 columns text-right"
|
2014-10-30 17:32:49 -07:00
|
|
|
ng-init="btx.showDetails = false">
|
2014-10-31 08:04:59 -07:00
|
|
|
<a>
|
2014-10-31 05:33:00 -07:00
|
|
|
<i ng-if="!btx.showDetails" class="icon-arrow-down4"></i>
|
|
|
|
<i ng-if="btx.showDetails" class="icon-arrow-up4 size-12"></i>
|
2014-10-30 17:32:49 -07:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div ng-show="btx.showDetails">
|
|
|
|
<table class="last-transactions-content" ng-if="btx.actionList.0">
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="c in btx.actionList">
|
2014-10-31 08:04:59 -07:00
|
|
|
<td class="copayer-name text-gray" width="100%">{{c.cId === $root.wallet.getMyCopayerId() ? 'Me' : $root.wallet.publicKeyRing.nicknameForCopayer(c.cId)}}
|
2014-10-30 17:32:49 -07:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<i ng-if="c.actions.create" class="fi-crown icon-status icon-active"></i>
|
|
|
|
<i ng-if="!c.actions.create" class="fi-crown icon-status"></i>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<i ng-if="c.actions.seen" class="fi-eye icon-status icon-active"></i>
|
|
|
|
<i ng-if="!c.actions.seen" class="fi-eye icon-status"></i>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<i ng-if="c.actions.rejected" class="fi-x icon-status icon-active-x"></i>
|
|
|
|
<i ng-if="c.actions.sign" class="fi-check icon-status icon-active-check"></i>
|
|
|
|
<i ng-if="!c.actions.sign && !c.actions.rejected && tx.missingSignatures" class="fi-loop icon-rotate"></i>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2014-10-31 08:04:59 -07:00
|
|
|
<div class="line"></div>
|
|
|
|
<div class="size-12 text-gray">
|
|
|
|
<span class="left hide-for-small-only">Transaction ID: {{btx.txid}} </span>
|
|
|
|
<a href="http://{{getShortNetworkName()}}.insight.is/tx/{{btx.txid}}" target="_blank" class="right"> More details <i class="icon-arrow-right2 vm"></i> </a>
|
2014-07-16 13:59:28 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|