Skip to content

Commit

Permalink
Update payments.hbs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy0803 authored Mar 4, 2024
1 parent 8a111c1 commit 7cdcb95
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions www/app/templates/payments.hbs
Original file line number Diff line number Diff line change
@@ -1,39 +1,41 @@
<div class="jumbotron-brand">
<div class="jumbotron">
<div class="container">
<p class="lead">Pool always pays tx fees from it's own pocket for now.</p>
<strong>Total payments sent:</strong> <span class="label label-info">{{model.paymentsTotal}}</span>
<p class="lead">{{t "payments.pay_tx"}}</p>
<strong>{{t "payments.total_payments_sent"}}:</strong> <span class="label label-info">{{model.paymentsTotal}}</span>
</div>
</div>
<div class="container">
{{#if model.payments}}
<h4>Latest Payouts</h4>
<h3>{{t "payments.latest_payouts"}}</h3>
<div class="table-responsive">
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Time</th>
<th>Amount</th>
<th>Address</th>
<th>Tx ID</th>
<th>{{t "payments.time"}}</th>
<th>{{t "payments.amount"}}</th>
<th>{{t "payments.address"}}</th>
<th>{{t "payments.txid"}}</th>
</tr>
</thead>
<tbody>
{{#each model.payments as |tx|}}
<tr>
<td>{{format-date-locale tx.timestamp}}</td>
<td>{{format-number tx.formatAmount}}</td>
<td>
<a href="https://expedition.dev/address/{{tx.address}}" class="hash" rel="nofollow" target="_blank">{{tx.address}}</a>
</td>
<td>
<a href="https://expedition.dev/tx/{{tx.tx}}" class="hash" rel="nofollow" target="_blank">{{format-tx tx.tx}}</a>
</td>
</tr>
<tr>
<td>{{format-date-locale tx.timestamp}}</td>
<td>{{format-number tx.formatAmount}}</td>
<td>
<a href="{{t " links.blockExplorerLink_address"}}{{tx.address}}" class="hash" rel="nofollow"
target="_blank">{{tx.address}}</a>
</td>
<td>
<a href="{{t " links.blockExplorerLink_tx"}}{{tx.tx}}" class="hash" rel="nofollow"
target="_blank">{{format-tx tx.tx}}</a>
</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
{{else}}
<h3>No payouts yet</h3>
<h3>{{t "payments.no_payouts_yet"}}</h3>
{{/if}}
</div>

0 comments on commit 7cdcb95

Please sign in to comment.