[UPDATE] bringing back cell colors for confirmed/unconfirmed/orphan
This commit is contained in:
parent
409fc0f7e0
commit
8751610ed8
@ -89,7 +89,6 @@
|
||||
<td>{$TRANSACTIONS[transaction].id}</td>
|
||||
<td>{$TRANSACTIONS[transaction].timestamp}</td>
|
||||
<td>{$TRANSACTIONS[transaction].type}</td>
|
||||
<td>
|
||||
{if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR
|
||||
$TRANSACTIONS[transaction].type == 'Fee_PPS' OR
|
||||
$TRANSACTIONS[transaction].type == 'Donation_PPS' OR
|
||||
@ -97,10 +96,9 @@
|
||||
$TRANSACTIONS[transaction].type == 'Debit_AP' OR
|
||||
$TRANSACTIONS[transaction].type == 'TXFee' OR
|
||||
$TRANSACTIONS[transaction].confirmations >= $GLOBAL.confirmations
|
||||
}<span class="confirmed">Confirmed</span>
|
||||
{else if $TRANSACTIONS[transaction].confirmations == -1}<span class="orphan">Orphaned</span>
|
||||
{else}<span class="unconfirmed">Unconfirmed</span>{/if}
|
||||
</td>
|
||||
}<td class="success">Confirmed</td>
|
||||
{else if $TRANSACTIONS[transaction].confirmations == -1}<td class="danger">Orphaned</td>
|
||||
{else}<td class="warning">Unconfirmed</td>{/if}
|
||||
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
|
||||
{if ! $GLOBAL.website.transactionexplorer.disabled}
|
||||
<td><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
|
||||
|
||||
@ -100,7 +100,6 @@
|
||||
<td>{$TRANSACTIONS[transaction].username}</td>
|
||||
<td>{$TRANSACTIONS[transaction].timestamp}</td>
|
||||
<td>{$TRANSACTIONS[transaction].type}</td>
|
||||
<td>
|
||||
{if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR
|
||||
$TRANSACTIONS[transaction].type == 'Fee_PPS' OR
|
||||
$TRANSACTIONS[transaction].type == 'Donation_PPS' OR
|
||||
@ -108,10 +107,9 @@
|
||||
$TRANSACTIONS[transaction].type == 'Debit_AP' OR
|
||||
$TRANSACTIONS[transaction].type == 'TXFee' OR
|
||||
$TRANSACTIONS[transaction].confirmations >= $GLOBAL.confirmations
|
||||
}<span class="confirmed">Confirmed</span>
|
||||
{else if $TRANSACTIONS[transaction].confirmations == -1}<span class="orphan">Orphaned</span>
|
||||
{else}<span class="unconfirmed">Unconfirmed</span>{/if}
|
||||
</td>
|
||||
}<td class="success">Confirmed</td>
|
||||
{else if $TRANSACTIONS[transaction].confirmations == -1}<td class="danger">Orphaned</td>
|
||||
{else}<td class="warning">Unconfirmed</td>{/if}
|
||||
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
|
||||
{if ! $GLOBAL.website.transactionexplorer.disabled}
|
||||
<td><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
|
||||
|
||||
@ -36,15 +36,13 @@
|
||||
{else}
|
||||
<td>{$BLOCKSFOUND[block].height}</td>
|
||||
{/if}
|
||||
<td>
|
||||
{if $BLOCKSFOUND[block].confirmations >= $GLOBAL.confirmations}
|
||||
<span class="confirmed">Confirmed</span>
|
||||
{else if $BLOCKSFOUND[block].confirmations == -1}
|
||||
<span class="orphan">Orphan</span>
|
||||
{else}
|
||||
<span class="unconfirmed">{$GLOBAL.confirmations - $BLOCKSFOUND[block].confirmations} left</span>
|
||||
{/if}
|
||||
</td>
|
||||
{if $BLOCKSFOUND[block].confirmations >= $GLOBAL.confirmations}
|
||||
<td class="success">Confirmed</td>
|
||||
{else if $BLOCKSFOUND[block].confirmations == -1}
|
||||
<td class="danger">Orphan</td>
|
||||
{else}
|
||||
<td class="warning">{$GLOBAL.confirmations - $BLOCKSFOUND[block].confirmations} left</td>
|
||||
{/if}
|
||||
<td>{if $BLOCKSFOUND[block].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$BLOCKSFOUND[block].finder|default:"unknown"|escape}{/if}</td>
|
||||
<td>{$BLOCKSFOUND[block].time|date_format:"%d/%m %H:%M:%S"}</td>
|
||||
<td>{$BLOCKSFOUND[block].difficulty|number_format:"2"}</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user