Parcourir la source

Fixed DeviceType link

Jeremy Stretch il y a 9 ans
Parent
commit
56bc15387f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      netbox/templates/dcim/device.html

+ 1 - 1
netbox/templates/dcim/device.html

@@ -40,7 +40,7 @@
                 <tr>
                     <td>Device Type</td>
                     <td>
-                        <span><a href="{% url 'dcim:device_list' %}?manufacturer={{ device.device_type.manufacturer.slug }}&model={{ device.device_type.slug }}">{{ device.device_type }}</a> ({{ device.device_type.u_height }}U)</span>
+                        <span><a href="{% url 'dcim:devicetype' pk=device.device_type.pk %}">{{ device.device_type }}</a> ({{ device.device_type.u_height }}U)</span>
                     </td>
                 </tr>
                 <tr>