Browse Source

Added platform info to VM view

Jeremy Stretch 7 years ago
parent
commit
71069ced7f
1 changed files with 10 additions and 0 deletions
  1. 10 0
      netbox/templates/virtualization/virtualmachine.html

+ 10 - 0
netbox/templates/virtualization/virtualmachine.html

@@ -66,6 +66,16 @@
                     <td>{{ vm.cluster.type }}</td>
                 </tr>
                 <tr>
+                    <td>Platform</td>
+                    <td>
+                        {% if vm.platform %}
+                            <span>{{ vm.platform }}</span>
+                        {% else %}
+                            <span class="text-muted">None</span>
+                        {% endif %}
+                    </td>
+                </tr>
+                <tr>
                     <td>Tenant</td>
                     <td>
                         {% if vm.tenant %}