Merge pull request #1128 from nicoschtein/patch-12

Make TXId & Address clickable on Transaction Lists
This commit is contained in:
Sebastian Grewe 2013-12-30 03:23:14 -08:00
commit b2ac77d9a5
2 changed files with 4 additions and 4 deletions

View File

@ -94,8 +94,8 @@
{else if $TRANSACTIONS[transaction].confirmations == -1}<span class="orphan">Orphaned</span>
{else}<span class="unconfirmed">Unconfirmed</span>{/if}
</td>
<td>{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</td>
<td>{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</td>
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
<td>{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.PHP_SELF}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{$TRANSACTIONS[transaction].height}</a>{/if}</td>
<td><font color="{if $TRANSACTIONS[transaction].type == 'Credit' or $TRANSACTIONS[transaction].type == 'Credit_PPS' or $TRANSACTIONS[transaction].type == 'Bonus'}green{else}red{/if}">{$TRANSACTIONS[transaction].amount|number_format:"8"}</td>
</tr>

View File

@ -101,8 +101,8 @@
{else if $TRANSACTIONS[transaction].confirmations == -1}<span class="orphan">Orphaned</span>
{else}<span class="unconfirmed">Unconfirmed</span>{/if}
</td>
<td>{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</td>
<td>{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</td>
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
<td>{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.PHP_SELF}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{/if}{$TRANSACTIONS[transaction].height}</a></td>
<td><font color="{if $TRANSACTIONS[transaction].type == 'Credit' or $TRANSACTIONS[transaction].type == 'Credit_PPS' or $TRANSACTIONS[transaction].type == 'Bonus'}green{else}red{/if}">{$TRANSACTIONS[transaction].amount|number_format:"8"}</td>
</tr>