mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
replace deprecated ifequal/ifnotequal with if
This commit is contained in:
parent
e46bb99b3b
commit
6a0d04d300
14 changed files with 74 additions and 74 deletions
|
@ -66,15 +66,15 @@
|
|||
{% for secret in secrets_all %}
|
||||
<tr>
|
||||
<th scope="row">{{ secret.uuid }}</th>
|
||||
<td>{% ifequal secret.usageType 0 %}
|
||||
<td>{% if secret.usageType == 0 %}
|
||||
{% trans "volume" %}
|
||||
{% endifequal %}
|
||||
{% ifequal secret.usageType 1 %}
|
||||
{% endif %}
|
||||
{% if secret.usageType == 1 %}
|
||||
{% trans "iscsi" %}
|
||||
{% endifequal %}
|
||||
{% ifequal secret.usageType 2 %}
|
||||
{% endif %}
|
||||
{% if secret.usageType 2 %}
|
||||
{% trans "ceph" %}
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ secret.usage }}</td>
|
||||
<td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue