fix coloring of total percentage
This commit is contained in:
parent
64e2c4ed77
commit
c0e8459519
@ -79,7 +79,7 @@ target and network difficulty and assuming a zero variance scenario.
|
||||
<td class="right">{$totalexpectedshares|number_format}</td>
|
||||
<td class="right">{$totalshares|number_format}</td>
|
||||
{math assign="totalpercentage" equation="shares / estshares * 100" shares=$totalshares estshares=$totalexpectedshares}
|
||||
<td class="right"><font color="{if ($percentage <= 100)}green{else}red{/if}">{$totalpercentage|number_format:"2"}</font>
|
||||
<td class="right"><font color="{if ($totalpercentage <= 100)}green{else}red{/if}">{$totalpercentage|number_format:"2"}</font>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user