fix coloring of total percentage

This commit is contained in:
Sebastian Grewe 2013-08-14 10:59:50 +02:00
parent 64e2c4ed77
commit c0e8459519

View File

@ -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>