1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

fix secret list details

This commit is contained in:
catborise 2020-06-04 15:45:20 +03:00
parent 6a0d04d300
commit 509c57d8ab

View file

@ -57,8 +57,8 @@
<thead>
<tr class="active">
<th scope="col">{% trans "UUID" %}</th>
<th scope="col">{% trans "Type" %}</th>
<th scope="col">{% trans "Usage" %}</th>
<th scope="col">{% trans "Usage Type" %}</th>
<th scope="col">{% trans "Data" %}</th>
<th scope="col" data-sortable="false" style="width:90px;">{% trans "Action" %}</th>
</tr>
</thead>
@ -66,16 +66,7 @@
{% for secret in secrets_all %}
<tr>
<th scope="row">{{ secret.uuid }}</th>
<td>{% if secret.usageType == 0 %}
{% trans "volume" %}
{% endif %}
{% if secret.usageType == 1 %}
{% trans "iscsi" %}
{% endif %}
{% if secret.usageType 2 %}
{% trans "ceph" %}
{% endif %}
</td>
<td>{{ secret.usageType }}</td>
<td>{{ secret.usage }}</td>
<td>
<form action="" method="post" role="form" aria-label="Delete secret form">{% csrf_token %}