diff --git a/instances/templates/instance.html b/instances/templates/instance.html index 98cf692..3c650ff 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -512,7 +512,7 @@
  • - {% trans "Manage Snapshot" %} + {% trans "Manage Snapshots" %}
  • @@ -560,7 +560,7 @@
    {% csrf_token %} {% ifequal status 5 %} - {% else %} @@ -573,7 +573,7 @@ {% csrf_token %} -
    diff --git a/instances/views.py b/instances/views.py index ac188ed..5bf95b1 100644 --- a/instances/views.py +++ b/instances/views.py @@ -565,14 +565,14 @@ def instance(request, compute_id, vname): conn.create_snapshot(name) msg = _("New snapshot") addlogmsg(request.user.username, instance.name, msg) - return HttpResponseRedirect(request.get_full_path() + '#restoresnapshot') + return HttpResponseRedirect(request.get_full_path() + '#managesnapshot') if 'delete_snapshot' in request.POST: snap_name = request.POST.get('name', '') conn.snapshot_delete(snap_name) msg = _("Delete snapshot") addlogmsg(request.user.username, instance.name, msg) - return HttpResponseRedirect(request.get_full_path() + '#restoresnapshot') + return HttpResponseRedirect(request.get_full_path() + '#managesnapshot') if 'revert_snapshot' in request.POST: snap_name = request.POST.get('name', '')