Просмотр исходного кода

17604 fix cluster disk space display

Arthur Hanson 1 год назад
Родитель
Сommit
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 %}