File tree 1 file changed +1
-1
lines changed
public/templates/bootstrap/statistics/round
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 24
24
<tr { if $GLOBAL .userdata.username|default :" " == $ROUNDTRANSACTIONS [txs].username} { assign var= listed value= 1} style =" background-color :#99EB99 ;" { else } { /if } >
25
25
<td >{ if $ROUNDTRANSACTIONS [txs].is_anonymous|default :" 0" == 1 && $GLOBAL .userdata.is_admin|default :" 0" == 0} anonymous{ else } { $ROUNDTRANSACTIONS [txs].username|default :" unknown" |escape } { /if } </td >
26
26
<td >{ $ROUNDSHARES [$ROUNDTRANSACTIONS [txs].uid].valid|number_format|default :0} </td >
27
- <td >{ if $ROUNDSHARES [$ROUNDTRANSACTIONS [txs].uid].valid > 0 } { (( 100 / $BLOCKDETAILS .shares) * $ROUNDSHARES [$ROUNDTRANSACTIONS [txs].uid].valid)|number_format:" 2" } { else } 0.00{ /if } </td >
27
+ <td >{ if $ROUNDSHARES [$ROUNDTRANSACTIONS [txs].uid].valid|default : " 0 " > 0 } { (( 100 / $BLOCKDETAILS .shares) * $ROUNDSHARES [$ROUNDTRANSACTIONS [txs].uid].valid)|number_format:" 2" } { else } 0.00{ /if } </td >
28
28
<td >{ $PPLNSROUNDSHARES [txs].pplns_valid|number_format|default :" 0" } </td >
29
29
<td >{ if $PPLNSROUNDSHARES [txs].pplns_valid|default :" 0" > 0 } { (( 100 / $PPLNSSHARES ) * $PPLNSROUNDSHARES [txs].pplns_valid)|number_format:" 2" |default :" 0" } { else } 0{ /if } </td >
30
30
<td >{ if $ROUNDSHARES [$ROUNDTRANSACTIONS [txs].uid].valid|default :" 0" > 0 && $PPLNSROUNDSHARES [txs].pplns_valid|default :" 0" > 0} { math assign= " percentage1" equation= (100 / ((( 100 / $BLOCKDETAILS .shares) * $ROUNDSHARES [$ROUNDTRANSACTIONS [txs].uid].valid) / (( 100 / $PPLNSSHARES ) * $PPLNSROUNDSHARES [txs].pplns_valid)))} { else if $PPLNSROUNDSHARES [txs].pplns_valid|default :" 0" == 0} { assign var= percentage1 value= 0} { else } { assign var= percentage1 value= 100} { /if }
You can’t perform that action at this time.
0 commit comments