#9871: Tweak display of utilization graph value

This commit is contained in:
jeremystretch 2022-08-01 12:38:12 -04:00
parent d4d73674fc
commit ff3fcb8134

View File

@ -7,9 +7,9 @@
class="progress-bar {{ bar_class }}"
style="width: {{ utilization }}%;"
>
{% if utilization >= 25 %}{{ utilization|floatformat:1 }}%{% endif %}
{% if utilization >= 35 %}{{ utilization|floatformat:1 }}%{% endif %}
</div>
{% if utilization < 25 %}
{% if utilization < 35 %}
<span class="ps-1">{{ utilization|floatformat:1 }}%</span>
{% endif %}
</div>