diff --git a/netbox/dcim/tables/template_code.py b/netbox/dcim/tables/template_code.py index dfc77b854..0b1e28095 100644 --- a/netbox/dcim/tables/template_code.py +++ b/netbox/dcim/tables/template_code.py @@ -46,7 +46,9 @@ INTERFACE_IPADDRESSES = """ INTERFACE_FHRPGROUPS = """
{% for assignment in value.all %} - {{ assignment.group.get_protocol_display }}: {{ assignment.group.group_id }} + {% for ip in assignment.group.ip_addresses.all %} + {{ assignment.group.get_protocol_display }}: {{ assignment.group.group_id }} ({{ ip }}) + {% endfor %} {% endfor %}
""" @@ -113,6 +115,9 @@ CONSOLEPORT_BUTTONS = """ {% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %} {% if perms.dcim.delete_cable %} + + + @@ -145,6 +150,9 @@ CONSOLESERVERPORT_BUTTONS = """ {% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %} {% if perms.dcim.delete_cable %} + + + @@ -177,6 +185,9 @@ POWERPORT_BUTTONS = """ {% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %} {% if perms.dcim.delete_cable %} + + + @@ -208,6 +219,9 @@ POWEROUTLET_BUTTONS = """ {% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %} {% if perms.dcim.delete_cable %} + + + @@ -256,6 +270,9 @@ INTERFACE_BUTTONS = """ {% if record.cable %} {% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %} {% if perms.dcim.delete_cable %} + + + @@ -301,6 +318,9 @@ FRONTPORT_BUTTONS = """ {% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %} {% if perms.dcim.delete_cable %} + + + @@ -338,6 +358,9 @@ REARPORT_BUTTONS = """ {% include 'dcim/inc/cable_toggle_buttons.html' with cable=record.cable %} {% if perms.dcim.delete_cable %} + + + diff --git a/netbox/templates/circuits/inc/circuit_termination.html b/netbox/templates/circuits/inc/circuit_termination.html index f4e0ea6ca..58e3844bf 100644 --- a/netbox/templates/circuits/inc/circuit_termination.html +++ b/netbox/templates/circuits/inc/circuit_termination.html @@ -58,6 +58,9 @@ Trace {% if perms.dcim.delete_cable %} + + Edit + Disconnect