mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 04:58:16 -06:00
format
This commit is contained in:
parent
e5b23e5219
commit
9dcf6ff881
@ -12,7 +12,7 @@
|
|||||||
class="progress-bar {{ bar_class }}"
|
class="progress-bar {{ bar_class }}"
|
||||||
style="width: {{ utilization }}%;"
|
style="width: {{ utilization }}%;"
|
||||||
>
|
>
|
||||||
{% if utilization >= 25 %}{{ utilization|floatformat:-2 }}%{% endif %}
|
{% if utilization >= 25 %}{{ utilization|floatformat:-2 }}%{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if utilization < 25 %}
|
{% if utilization < 25 %}
|
||||||
<span class="ps-1">{{ utilization|floatformat:-2 }}%</span>
|
<span class="ps-1">{{ utilization|floatformat:-2 }}%</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user