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. 24
      www/app/templates/payments.hbs

24
www/app/templates/payments.hbs

@ -1,20 +1,20 @@
<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>
@ -23,10 +23,12 @@
<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>
<a href="{{t " links.blockExplorerLink_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>
<a href="{{t " links.blockExplorerLink_tx"}}{{tx.tx}}" class="hash" rel="nofollow"
target="_blank">{{format-tx tx.tx}}</a>
</td>
</tr>
{{/each}}
@ -34,6 +36,6 @@
</table>
</div>
{{else}}
<h3>No payouts yet</h3>
<h3>{{t "payments.no_payouts_yet"}}</h3>
{{/if}}
</div>

Loading…
Cancel
Save