File tree 1 file changed +2
-2
lines changed
templates/bootstrap/statistics/blocks
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 59
59
<td class =" text-right" >{ $BLOCKSFOUND [block ].shares|number_format} </td >
60
60
<td class =" text-right" >
61
61
{ math assign= " percentage" equation= " shares / estshares * 100" shares= $BLOCKSFOUND [block ].shares|default :" 0" estshares= $BLOCKSFOUND [block ].estshares}
62
- <font color =" { if ($percentage <= 100)} green{ else } red{ /if } " >{ $percentage |number_format:" 2" } </font >
62
+ <font color =" { if ($percentage <= 100)} green{ elseif ( $ percentage <= 115) } orange { else } red{ /if } " >{ $percentage |number_format:" 2" } </font >
63
63
</td >
64
64
</tr >
65
65
{ /section }
70
70
<td class =" text-right" >{ $pplnsshares |number_format} </td >
71
71
{ /if }
72
72
<td class =" text-right" >{ $totalshares |number_format} </td >
73
- <td class =" text-right" >{ if $count > 0} <font color =" { if (($totalshares / $totalexpectedshares * 100) <= 100)} green{ else } red{ /if } " >{ ($totalshares / $totalexpectedshares * 100)|number_format:" 2" } </font >{ else } 0{ /if } </td >
73
+ <td class =" text-right" >{ if $count > 0} <font color =" { if (($totalshares / $totalexpectedshares * 100) <= 100)} green{ elseif (( $ totalshares / $ totalexpectedshares * 100) <= 115) } orange { else } red{ /if } " >{ ($totalshares / $totalexpectedshares * 100)|number_format:" 2" } </font >{ else } 0{ /if } </td >
74
74
</tr >
75
75
</tbody >
76
76
</table >
You can’t perform that action at this time.
0 commit comments