Преглед на файлове

Fixes #20412: linkify cluster type (#20413)

RasmusThing преди 7 месеца
родител
ревизия
0b7baae23c
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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>