소스 검색

#9871: Tweak display of utilization graph value

jeremystretch 3 년 전
부모
커밋
ff3fcb8134
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      netbox/utilities/templates/helpers/utilization_graph.html

+ 2 - 2
netbox/utilities/templates/helpers/utilization_graph.html

@@ -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>