Răsfoiți Sursa

Fixes #20412: linkify cluster type (#20413)

RasmusThing 5 luni în urmă
părinte
comite
0b7baae23c
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  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>