Преглед изворни кода

17604 fix cluster disk space display

Arthur Hanson пре 1 година
родитељ
комит
9bccc11c28
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      netbox/templates/virtualization/cluster.html

+ 1 - 1
netbox/templates/virtualization/cluster.html

@@ -69,7 +69,7 @@
               <th scope="row"><i class="mdi mdi-harddisk"></i> {% trans "Disk Space" %}</th>
               <td>
                   {% if disk_sum %}
-                      {{ disk_sum }} {% trans "GB" context "Abbreviation for gigabyte" %}
+                      {{ disk_sum|humanize_megabytes }}
                   {% else %}
                       {{ ''|placeholder }}
                   {% endif %}