only display two decimal points for the task load

This commit is contained in:
Mike Bonnet 2009-02-11 01:39:07 -05:00
parent f31fa3c377
commit 7a5e7fb1cd

View file

@ -18,7 +18,7 @@
<th>Capacity</th><td>$host.capacity</td>
</tr>
<tr>
<th>Task Load</th><td><a href="tasks?hostID=$host.id">$host.task_load</a></td>
<th>Task Load</th><td><a href="tasks?hostID=$host.id">#echo '%.2f' % $host.task_load#</a></td>
</tr>
<tr>
#set $enabled = $host.enabled and 'yes' or 'no'