File tree 2 files changed +3
-2
lines changed
netbox/templates/utilities/templatetags 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
* [ #3900 ] ( https://github.com/netbox-community/netbox/issues/3900 ) - Fix exception when deleting device types
10
10
* [ #3914 ] ( https://github.com/netbox-community/netbox/issues/3914 ) - Fix interface filter field when unauthenticated
11
+ * [ #3919 ] ( https://github.com/netbox-community/netbox/issues/3919 ) - Fix utilization graph extending out of bounds when utilization > 100%
11
12
* [ #3927 ] ( https://github.com/netbox-community/netbox/issues/3927 ) - Fix exception when deleting devices with secrets assigned
12
13
13
14
---
44
45
* [ #3872 ] ( https://github.com/netbox-community/netbox/issues/3872 ) - Paginate related IPs on the IP address view
45
46
* [ #3876 ] ( https://github.com/netbox-community/netbox/issues/3876 ) - Fix minimum/maximum value rendering for site ASN field
46
47
* [ #3882 ] ( https://github.com/netbox-community/netbox/issues/3882 ) - Fix filtering of devices by rack group
47
- * [ #3898 ] ( https://github.com/netbox-community/netbox/issues/3898 ) - Fix references to deleted cables without a label
48
+ * [ #3898 ] ( https://github.com/netbox-community/netbox/issues/3898 ) - Fix references to deleted cables without a label
48
49
* [ #3905 ] ( https://github.com/netbox-community/netbox/issues/3905 ) - Fix divide-by-zero on power feeds with low power values
49
50
50
51
---
Original file line number Diff line number Diff line change 1
1
< div class ="progress text-center ">
2
2
{% if utilization < 30 %} < span style ="font-size: 12px; "> {{ utilization }}%</ span > {% endif %}
3
3
< div class ="progress-bar progress-bar-{% if utilization >= danger_threshold %}danger{% elif utilization >= warning_threshold %}warning{% else %}success{% endif %} "
4
- role ="progressbar " aria-valuenow ="{{ utilization }} " aria-valuemin ="0 " aria-valuemax ="100 " style ="width: {{ utilization }}% ">
4
+ role ="progressbar " aria-valuenow ="{{ utilization }} " aria-valuemin ="0 " aria-valuemax ="100 " style ="width: {% if utilization > 100 %}100{% else %}{{ utilization }}{% endif % }% ">
5
5
{% if utilization > = 30 %}{{ utilization }}%{% endif %}
6
6
</ div >
7
7
</ div >
You can’t perform that action at this time.
0 commit comments