Display two decimal points for the task load in hosts page

This commit is contained in:
alisboav 2023-09-22 11:36:37 +02:00 committed by Tomas Kopecek
parent 9f0583f797
commit b178d6b36c

View file

@ -131,7 +131,7 @@ in $channel channel
</td>
<td class="$str($bool($host.enabled)).lower()">#if $host.enabled then $util.imageTag('yes') else $util.imageTag('no')#</td>
<td class="$str($bool($host.ready)).lower()">#if $host.ready then $util.imageTag('yes') else $util.imageTag('no')#</td>
<td>$host.task_load</td>
<td>#echo '%.2f' % $host.task_load#</td>
<td>$host.capacity</td>
<td>$util.formatTime($host.last_update)</td>
</tr>