[UPDATE] Link to Transaction ID if tx url is enabled
This commit is contained in:
parent
08e425ac81
commit
45fb43950a
@ -5,29 +5,39 @@
|
||||
<i class="fa fa-connectdevelop fa-fw"></i> Last {$TRANSACTIONS|count} transactions
|
||||
</div>
|
||||
<div class="panel-body no-padding">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Account</th>
|
||||
<th class="text-center">Address</th>
|
||||
<th class="text-center">Category</th>
|
||||
<th class="text-right">Amount</th>
|
||||
<th class="text-right">Confirmations</th>
|
||||
<th class="text-right">Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">Account</th>
|
||||
<th class="text-center">Address</th>
|
||||
<th class="text-center">Category</th>
|
||||
<th class="text-right">Amount</th>
|
||||
<th class="text-right">Confirmations</th>
|
||||
<th class="text-center">Transaction ID</th>
|
||||
<th class="text-right">Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach key=KEY item=ARRAY from=$TRANSACTIONS}
|
||||
<tr>
|
||||
<td>{$ARRAY['account']|default:"Default"}</td>
|
||||
<td class="text-center">{$ARRAY['address']}</td>
|
||||
<td class="text-center">{$ARRAY['category']|capitalize}</td>
|
||||
<td class="text-right">{$ARRAY['amount']|number_format:"$PRECISION"}</td>
|
||||
<td class="text-right">{$ARRAY['confirmations']}</td>
|
||||
<td class="text-right">{$ARRAY['time']|date_format:$GLOBAL.config.date}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">{$ARRAY['account']|default:"Default"}</td>
|
||||
<td class="text-center">{$ARRAY['address']}</td>
|
||||
<td class="text-center">{$ARRAY['category']|capitalize}</td>
|
||||
<td class="text-right">{$ARRAY['amount']|number_format:"$PRECISION"}</td>
|
||||
<td class="text-right">{$ARRAY['confirmations']}</td>
|
||||
<td class="text-center">
|
||||
{if !$GLOBAL.website.transactionexplorer.disabled}
|
||||
<a href="{$GLOBAL.website.transactionexplorer.url}{$ARRAY['txid']}">{$ARRAY['txid']|truncate:20:"...":false:true}</a>
|
||||
{else}
|
||||
{$ARRAY['txid']|truncate:20:"...":false:true}
|
||||
{/if}
|
||||
</td>
|
||||
<td class="text-right">{$ARRAY['time']|date_format:$GLOBAL.config.date}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user