diff --git a/instances/templates/instances/settings_tab.html b/instances/templates/instances/settings_tab.html index 16c9032..6426023 100644 --- a/instances/templates/instances/settings_tab.html +++ b/instances/templates/instances/settings_tab.html @@ -652,7 +652,7 @@ {% if computes_count != 1 %} - + {% else %} {% endif %} diff --git a/storages/templates/storage.html b/storages/templates/storage.html index 4840785..b9f1af8 100644 --- a/storages/templates/storage.html +++ b/storages/templates/storage.html @@ -11,6 +11,7 @@ {% block page_heading_extra %}{% include 'create_stg_vol_block.html' %}{% endblock page_heading_extra %} {% block content %} + {% include 'pleasewaitdialog.html' %}
@@ -152,7 +153,7 @@
@@ -190,7 +191,6 @@ {% endif %} - {% include 'pleasewaitdialog.html' %} {% endblock %} {% block script %} diff --git a/storages/views.py b/storages/views.py index 1934237..0c48ab6 100644 --- a/storages/views.py +++ b/storages/views.py @@ -171,7 +171,7 @@ def storage(request, compute_id, pool): name = conn.clone_volume(data["image"], data["name"], format, meta_prealloc) messages.success( request, - _("%(image)s image cloned as %(clone)s successfully") % {"image": data["image"], "name": name}, + _("%(image)s image cloned as %(name)s successfully") % {"image": data["image"], "name": name}, ) return HttpResponseRedirect(request.get_full_path()) except libvirtError as lib_err: diff --git a/templates/pleasewaitdialog.html b/templates/pleasewaitdialog.html index 84b0d6e..2d51471 100644 --- a/templates/pleasewaitdialog.html +++ b/templates/pleasewaitdialog.html @@ -1,6 +1,6 @@ {% load i18n %} -