Explorar o código

Fix connected interface template rendering...

Nick Peelman %!s(int64=10) %!d(string=hai) anos
pai
achega
dc847ce4d6
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      netbox/templates/dcim/inc/_interface.html

+ 1 - 2
netbox/templates/dcim/inc/_interface.html

@@ -11,8 +11,7 @@
         {% with iface.get_connected_interface as connected_iface %}
         {% with iface.get_connected_interface as connected_iface %}
             <td>
             <td>
                 <a href="{% url 'dcim:device' pk=connected_iface.device.pk %}">{{ connected_iface.device }}</a>
                 <a href="{% url 'dcim:device' pk=connected_iface.device.pk %}">{{ connected_iface.device }}</a>
-            </td>
-            <td>
+                &Colon;
                 <span title="{{ connected_iface.get_form_factor_display }}">{{ connected_iface }}</span>
                 <span title="{{ connected_iface.get_form_factor_display }}">{{ connected_iface }}</span>
             </td>
             </td>
         {% endwith %}
         {% endwith %}