Explorar o código

make INTERFACE_FHRPGROUPS use FHRPGROUPS _str_ representation

Renato Almeida de Oliveira Zaroubin hai 1 ano
pai
achega
6b9b66aecb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      netbox/dcim/tables/template_code.py

+ 1 - 1
netbox/dcim/tables/template_code.py

@@ -64,7 +64,7 @@ INTERFACE_IPADDRESSES = """
 
 
 INTERFACE_FHRPGROUPS = """
 INTERFACE_FHRPGROUPS = """
   {% for assignment in value.all %}
   {% for assignment in value.all %}
-    <a href="{{ assignment.group.get_absolute_url }}">{{ assignment.group.get_protocol_display }}: {{ assignment.group.group_id }}</a>
+    <a href="{{ assignment.group.get_absolute_url }}">{{ assignment.group }}</a>
   {% endfor %}
   {% endfor %}
 """
 """