diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index 3bf92fbca..2b6cea667 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -105,13 +105,13 @@ - - - @@ -129,7 +129,7 @@ + @@ -154,6 +164,16 @@ N/A {% endif %} +
Role + {{ device.device_role }}
Platform + {% if device.platform %} {{ device.platform }} {% else %} @@ -121,7 +121,7 @@
Status + {{ device.get_status_display }}
Primary IPv4 {% if device.primary_ip4 %} - {{ device.primary_ip4.address.ip }} + {{ device.primary_ip4.address.ip }} {% if device.primary_ip4.nat_inside %} (NAT for {{ device.primary_ip4.nat_inside.address.ip }}) {% elif device.primary_ip4.nat_outside %} @@ -139,6 +139,16 @@ N/A {% endif %} + {% if device.primary_ip4 %} + + SSH + + Telnet + + Web + {% endif %} +
Primary IPv6 + {% if device.primary_ip6 %} + + SSH + + Telnet + + Web + {% endif %} +