Browse Source

Update payments.hbs

master
yuriy0803 2 years ago committed by GitHub
parent
commit
7cdcb954ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 40
      www/app/templates/payments.hbs

40
www/app/templates/payments.hbs

@ -1,39 +1,41 @@
<div class="jumbotron-brand"> <div class="jumbotron">
<div class="container"> <div class="container">
<p class="lead">Pool always pays tx fees from it's own pocket for now.</p> <p class="lead">{{t "payments.pay_tx"}}</p>
<strong>Total payments sent:</strong> <span class="label label-info">{{model.paymentsTotal}}</span> <strong>{{t "payments.total_payments_sent"}}:</strong> <span class="label label-info">{{model.paymentsTotal}}</span>
</div> </div>
</div> </div>
<div class="container"> <div class="container">
{{#if model.payments}} {{#if model.payments}}
<h4>Latest Payouts</h4> <h3>{{t "payments.latest_payouts"}}</h3>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-condensed table-striped"> <table class="table table-condensed table-striped">
<thead> <thead>
<tr> <tr>
<th>Time</th> <th>{{t "payments.time"}}</th>
<th>Amount</th> <th>{{t "payments.amount"}}</th>
<th>Address</th> <th>{{t "payments.address"}}</th>
<th>Tx ID</th> <th>{{t "payments.txid"}}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{{#each model.payments as |tx|}} {{#each model.payments as |tx|}}
<tr> <tr>
<td>{{format-date-locale tx.timestamp}}</td> <td>{{format-date-locale tx.timestamp}}</td>
<td>{{format-number tx.formatAmount}}</td> <td>{{format-number tx.formatAmount}}</td>
<td> <td>
<a href="https://expedition.dev/address/{{tx.address}}" class="hash" rel="nofollow" target="_blank">{{tx.address}}</a> <a href="{{t " links.blockExplorerLink_address"}}{{tx.address}}" class="hash" rel="nofollow"
</td> 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>
</td> <a href="{{t " links.blockExplorerLink_tx"}}{{tx.tx}}" class="hash" rel="nofollow"
</tr> target="_blank">{{format-tx tx.tx}}</a>
</td>
</tr>
{{/each}} {{/each}}
</tbody> </tbody>
</table> </table>
</div> </div>
{{else}} {{else}}
<h3>No payouts yet</h3> <h3>{{t "payments.no_payouts_yet"}}</h3>
{{/if}} {{/if}}
</div> </div>

Loading…
Cancel
Save