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

Fixes #7083: Correct labeling for VM memory attribute

jeremystretch 4 лет назад
Родитель
Сommit
65c9339687

+ 1 - 0
docs/release-notes/version-3.0.md

@@ -6,6 +6,7 @@
 
 * [#7070](https://github.com/netbox-community/netbox/issues/7070) - Fix exception when filtering by prefix max length in UI
 * [#7071](https://github.com/netbox-community/netbox/issues/7071) - Fix exception when removing a primary IP from a device/VM
+* [#7083](https://github.com/netbox-community/netbox/issues/7083) - Correct labeling for VM memory attribute
 * [#7084](https://github.com/netbox-community/netbox/issues/7084) - Fix KeyError exception when editing access VLAN on an interface
 * [#7096](https://github.com/netbox-community/netbox/issues/7096) - Home links should honor `BASE_PATH` configuration
 

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

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