diff --git a/instances/templates/instance.html b/instances/templates/instance.html index c5317690..6d6a203c 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -85,7 +85,7 @@ {% trans "Resize" %} - {% if allow_admin_or_not_template and 'instances.snapshot_instances' in perms %} + {% if can_snapshot %} {% endif %} + {% if show_settings %} + {% endif %} - {% endif %} + {% endif %} + {% if request.user.is_superuser %} {% endif %} - {% if perms.instances.clone_instances %} + {% if can_clone %} {% endif %} - {% if perms.instances.clone_instances %} + {% if can_change %}