Przeglądaj źródła

make INTERFACE_FHRPGROUPS use FHRPGROUPS _str_ representation

Renato Almeida de Oliveira Zaroubin 1 rok temu
rodzic
commit
6b9b66aecb
1 zmienionych plików z 1 dodań i 1 usunięć
  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 = """
   {% 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 %}
 """