Explorar o código

Fixes #20412: linkify cluster type (#20413)

RasmusThing hai 5 meses
pai
achega
0b7baae23c
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      netbox/templates/virtualization/virtualmachine.html

+ 3 - 1
netbox/templates/virtualization/virtualmachine.html

@@ -108,7 +108,9 @@
                 </tr>
                 <tr>
                     <th scope="row">{% trans "Cluster Type" %}</th>
-                    <td>{{ object.cluster.type }}</td>
+                    <td>
+                        {{ object.cluster.type|linkify|placeholder }}
+                    </td>
                 </tr>
                 <tr>
                     <th scope="row">{% trans "Device" %}</th>