1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-26 08:05:22 +00:00

Merge pull request #606 from krejcar25/fix-604

Replace ifnotequal with if
This commit is contained in:
catborise 2023-09-25 20:23:50 +03:00 committed by GitHub
commit 35afff26f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@
</div> <!-- /.modal-content -->
</div> <!-- /.modal-dialog -->
</div> <!-- /.modal -->
{% ifnotequal volume.type "iso" %}
{% if volume.type != "iso" %}
<button class="btn btn-sm btn-secondary" data-bs-toggle="modal" data-bs-target="#Clone{{ forloop.counter }}" title="{% trans "Clone" %}">
{% bs_icon 'files' %}
</button>
@ -168,7 +168,7 @@
<button class="btn btn-sm btn-secondary disabled">
{% bs_icon 'files' %}
</button>
{% endifnotequal %}
{% endif %}
</td>
<td>
<form action="" method="post" role="form" aria-label="Delete volume form">{% csrf_token %}