refactor(itim): Add Cluster type to index page

ref: #244 #71
This commit is contained in:
2024-08-18 14:23:21 +09:30
parent e70d0392c0
commit 5d660694c3

View File

@ -6,7 +6,7 @@
<table class="data">
<tr>
<th>Title</th>
<th>Cluster / Device</th>
<th>Type</th>
<th>Organization</th>
<th>&nbsp;</th>
</tr>
@ -15,10 +15,10 @@
<tr>
<td><a href="{% url 'ITIM:_cluster_view' pk=item.id %}">{{ item.name }}</a></td>
<td>
{% if item.device %}
{{ item.device }}
{% if item.cluster_type %}
{{ item.cluster_type }}
{% else %}
{{ item.cluster }}
&nbsp;
{% endif %}
</td>
<td>{{ item.organization }}</td>