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

remove deprecated ifnotequal dtl tag

This commit is contained in:
catborise 2023-09-06 13:30:58 +03:00
parent cbd1f6f8b0
commit 635101a1b6

View file

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