2014-10-30 14:13:40 -03:00
|
|
|
<div class="transactions" data-ng-controller="HistoryController" data-ng-init="update()">
|
2014-12-04 13:42:50 -03:00
|
|
|
<div class="row">
|
|
|
|
|
<div class="large-12 medium-12 small-12 columns">
|
|
|
|
|
<h1 class="hide-for-large-up">{{$root.title}}</h1>
|
2014-12-09 22:01:52 -03:00
|
|
|
<div ng-if="loading && !blockchain_txs[0].txid" class="m20b">
|
2014-12-04 13:42:50 -03:00
|
|
|
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
|
|
|
|
|
<span translate>Loading...</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div ng-if="!blockchain_txs[0].txid && !loading">
|
|
|
|
|
<em><strong translate>No transactions yet.</strong></em>
|
2014-11-26 18:50:58 -03:00
|
|
|
</div>
|
2014-10-30 21:32:49 -03:00
|
|
|
</div>
|
2014-12-04 13:42:50 -03:00
|
|
|
</div>
|
|
|
|
|
<div class="row" ng-if="blockchain_txs[0].txid">
|
|
|
|
|
<div class="large-12 columns">
|
2014-12-10 22:58:11 -03:00
|
|
|
<div class="panel oh">
|
|
|
|
|
<div ng-repeat="btx in blockchain_txs | orderBy:'-ts'" ng-click="openTxModal(btx)" ng-class="{'line-b':!$last}" class="last-transactions-content">
|
2014-12-04 13:42:50 -03:00
|
|
|
|
2014-12-10 22:58:11 -03:00
|
|
|
<div class="row">
|
|
|
|
|
<div class="large-6 medium-6 small-12 columns size-16">
|
|
|
|
|
<div class="ellipsis m10b">
|
|
|
|
|
<time ng-if="btx.ts">{{btx.ts | amTimeAgo}}</time>
|
|
|
|
|
<span class="label alert" ng-show="!btx.ts && (!btx.confirmations || btx.confirmations == 0)">
|
|
|
|
|
<span translate>Unconfirmed</span>
|
|
|
|
|
</span>
|
2014-12-04 13:42:50 -03:00
|
|
|
</div>
|
2014-12-10 22:58:11 -03:00
|
|
|
</div>
|
2014-10-30 16:46:39 -03:00
|
|
|
|
2014-12-10 22:58:11 -03:00
|
|
|
<div class="large-6 medium-6 small-12 columns">
|
|
|
|
|
<div class="text-right" ng-class="{
|
2014-11-03 16:32:41 -03:00
|
|
|
'text-primary' : btx.action == 'received',
|
|
|
|
|
'text-warning': btx.action == 'sent',
|
|
|
|
|
'text-gray': btx.action == 'moved'}">
|
2014-12-10 22:58:11 -03:00
|
|
|
<span class="size-21">
|
|
|
|
|
<span ng-if="!$root.updatingBalance">
|
|
|
|
|
<span ng-if="btx.action == 'received'">+</span><span ng-if="btx.action == 'sent'">-</span>{{btx.amount}}
|
2014-12-01 14:00:42 -03:00
|
|
|
</span>
|
2014-12-10 22:58:11 -03:00
|
|
|
{{$root.wallet.settings.unitName}}
|
2014-12-04 15:55:56 -03:00
|
|
|
</span>
|
2014-12-11 02:31:37 -03:00
|
|
|
<span class="size-14 db m5t text-gray" ng-show="btx.alternativeAmount">
|
2014-12-10 22:58:11 -03:00
|
|
|
{{btx.alternativeAmount}} {{$root.wallet.settings.alternativeIsoCode}}
|
2014-12-04 15:55:56 -03:00
|
|
|
</span>
|
2014-11-03 16:32:41 -03:00
|
|
|
</div>
|
2014-11-10 18:00:43 -03:00
|
|
|
</div>
|
2014-11-26 18:50:58 -03:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-12-10 22:58:11 -03:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-12-04 13:42:50 -03:00
|
|
|
</div>
|
2015-01-08 16:14:39 -03:00
|
|
|
<div class="m50b" ng-show="blockchain_txs[0].txid">
|
2014-12-04 13:42:50 -03:00
|
|
|
<div class="row">
|
|
|
|
|
<div class="large-9 columns">
|
|
|
|
|
<pagination page="currentPage" total-items="totalItems" items-per-page="itemsPerPage" on-select-page="selectPage(page)" max-size="10" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="large-3 columns m5t text-right size-12 show-for-large-up">
|
|
|
|
|
<div ng-if="generating">
|
|
|
|
|
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
|
|
|
|
|
<span translate>Generating file...</span>
|
2014-11-26 18:50:58 -03:00
|
|
|
</div>
|
2014-12-04 13:42:50 -03:00
|
|
|
<div ng-if="!generating">
|
|
|
|
|
<a class="text-gray" href="#!/history" ng-click="downloadHistory();">
|
|
|
|
|
<i class="fi-page-export-csv"></i>
|
|
|
|
|
<span translate>Download CSV file</span>
|
|
|
|
|
</a>
|
2014-07-16 17:59:28 -03:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-12-04 13:42:50 -03:00
|
|
|
</div>
|
2014-07-16 17:59:28 -03:00
|
|
|
</div>
|