[UPDATE] Link to Transaction ID if tx url is enabled

This commit is contained in:
Sebastian Grewe 2015-04-16 10:38:32 +02:00
parent 08e425ac81
commit 45fb43950a

View File

@ -5,29 +5,39 @@
<i class="fa fa-connectdevelop fa-fw"></i> Last {$TRANSACTIONS|count} transactions <i class="fa fa-connectdevelop fa-fw"></i> Last {$TRANSACTIONS|count} transactions
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding">
<table class="table table-striped table-bordered table-hover"> <div class="table-responsive">
<thead> <table class="table table-striped table-bordered table-hover">
<tr> <thead>
<th>Account</th> <tr>
<th class="text-center">Address</th> <th class="text-center">Account</th>
<th class="text-center">Category</th> <th class="text-center">Address</th>
<th class="text-right">Amount</th> <th class="text-center">Category</th>
<th class="text-right">Confirmations</th> <th class="text-right">Amount</th>
<th class="text-right">Time</th> <th class="text-right">Confirmations</th>
</tr> <th class="text-center">Transaction ID</th>
</thead> <th class="text-right">Time</th>
<tbody> </tr>
</thead>
<tbody>
{foreach key=KEY item=ARRAY from=$TRANSACTIONS} {foreach key=KEY item=ARRAY from=$TRANSACTIONS}
<tr> <tr>
<td>{$ARRAY['account']|default:"Default"}</td> <td class="text-center">{$ARRAY['account']|default:"Default"}</td>
<td class="text-center">{$ARRAY['address']}</td> <td class="text-center">{$ARRAY['address']}</td>
<td class="text-center">{$ARRAY['category']|capitalize}</td> <td class="text-center">{$ARRAY['category']|capitalize}</td>
<td class="text-right">{$ARRAY['amount']|number_format:"$PRECISION"}</td> <td class="text-right">{$ARRAY['amount']|number_format:"$PRECISION"}</td>
<td class="text-right">{$ARRAY['confirmations']}</td> <td class="text-right">{$ARRAY['confirmations']}</td>
<td class="text-right">{$ARRAY['time']|date_format:$GLOBAL.config.date} <td class="text-center">
</tr> {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} {/foreach}
</tbody> </tbody>
</table> </table>
</div>
</div> </div>
</div> </div>