瀏覽代碼

Fixes #20412: linkify cluster type (#20413)

RasmusThing 8 月之前
父節點
當前提交
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>