1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #6667: Display VM memory as GB/TB as appropriate

This commit is contained in:
jeremystretch
2021-06-29 14:00:16 -04:00
parent 18934bcc69
commit 18a9e39be6
3 changed files with 16 additions and 1 deletions

View File

@@ -138,7 +138,7 @@
<td><i class="mdi mdi-chip"></i> Memory</td>
<td>
{% if object.memory %}
{{ object.memory }} MB
<span title="{{ object.memory }} MB">{{ object.memory|humanize_megabytes }}</span>
{% else %}
<span class="text-muted">&mdash;</span>
{% endif %}