1
0
Fork 0
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:
catborise 2020-06-04 15:40:57 +03:00
parent e46bb99b3b
commit 6a0d04d300
14 changed files with 74 additions and 74 deletions

View file

@ -1,7 +1,7 @@
{% load i18n %}
{% if request.user.is_superuser %}
{% ifnotequal state 0 %}
{% ifequal pool "iso" %}
{% if state != 0 %}
{% if pool == "iso" %}
<a href="#IsoUpload" class="btn btn-success float-right" data-toggle="modal">
<span class="fa fa-plus" aria-hidden="true"></span>
</a>
@ -85,6 +85,6 @@
</div> <!-- /.modal-content -->
</div> <!-- /.modal-dialog -->
</div> <!-- /.modal -->
{% endifequal %}
{% endifnotequal %}
{% endif %}
{% endif %}
{% endif %}