diff --git a/public/templates/bootstrap/account/transactions/default.tpl b/public/templates/bootstrap/account/transactions/default.tpl index 9173f4c5..ecbd8dbf 100644 --- a/public/templates/bootstrap/account/transactions/default.tpl +++ b/public/templates/bootstrap/account/transactions/default.tpl @@ -89,7 +89,6 @@ {$TRANSACTIONS[transaction].id} {$TRANSACTIONS[transaction].timestamp} {$TRANSACTIONS[transaction].type} - {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 - }Confirmed - {else if $TRANSACTIONS[transaction].confirmations == -1}Orphaned - {else}Unconfirmed{/if} - + }Confirmed + {else if $TRANSACTIONS[transaction].confirmations == -1}Orphaned + {else}Unconfirmed{/if} {$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true} {if ! $GLOBAL.website.transactionexplorer.disabled} {$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true} diff --git a/public/templates/bootstrap/admin/transactions/default.tpl b/public/templates/bootstrap/admin/transactions/default.tpl index 30871f01..f89ed6ac 100644 --- a/public/templates/bootstrap/admin/transactions/default.tpl +++ b/public/templates/bootstrap/admin/transactions/default.tpl @@ -100,7 +100,6 @@ {$TRANSACTIONS[transaction].username} {$TRANSACTIONS[transaction].timestamp} {$TRANSACTIONS[transaction].type} - {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 - }Confirmed - {else if $TRANSACTIONS[transaction].confirmations == -1}Orphaned - {else}Unconfirmed{/if} - + }Confirmed + {else if $TRANSACTIONS[transaction].confirmations == -1}Orphaned + {else}Unconfirmed{/if} {$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true} {if ! $GLOBAL.website.transactionexplorer.disabled} {$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true} diff --git a/public/templates/bootstrap/statistics/blocks/blocks_found_details.tpl b/public/templates/bootstrap/statistics/blocks/blocks_found_details.tpl index e7ab67a3..67154333 100644 --- a/public/templates/bootstrap/statistics/blocks/blocks_found_details.tpl +++ b/public/templates/bootstrap/statistics/blocks/blocks_found_details.tpl @@ -36,15 +36,13 @@ {else} {$BLOCKSFOUND[block].height} {/if} - - {if $BLOCKSFOUND[block].confirmations >= $GLOBAL.confirmations} - Confirmed - {else if $BLOCKSFOUND[block].confirmations == -1} - Orphan - {else} - {$GLOBAL.confirmations - $BLOCKSFOUND[block].confirmations} left - {/if} - + {if $BLOCKSFOUND[block].confirmations >= $GLOBAL.confirmations} + Confirmed + {else if $BLOCKSFOUND[block].confirmations == -1} + Orphan + {else} + {$GLOBAL.confirmations - $BLOCKSFOUND[block].confirmations} left + {/if} {if $BLOCKSFOUND[block].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$BLOCKSFOUND[block].finder|default:"unknown"|escape}{/if} {$BLOCKSFOUND[block].time|date_format:"%d/%m %H:%M:%S"} {$BLOCKSFOUND[block].difficulty|number_format:"2"}