mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 19:47:20 -06:00
#9871: Tweak display of utilization graph value
This commit is contained in:
parent
d4d73674fc
commit
ff3fcb8134
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user