Skip to content

Commit

Permalink
Merge pull request #606 from krejcar25/fix-604
Browse files Browse the repository at this point in the history
Replace ifnotequal with if
  • Loading branch information
catborise authored Sep 25, 2023
2 parents 43fc419 + 53d1407 commit 35afff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storages/templates/storage.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,15 @@ <h5 class="modal-title">{% trans "Clone image" %} <span class="text-danger">{{ v
</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>
{% else %}
<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 %}
Expand Down

0 comments on commit 35afff2

Please sign in to comment.