diff --git a/instances/templates/instance.html b/instances/templates/instance.html index 98cf692..7a9be1e 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -512,7 +512,7 @@
  • - {% trans "Manage Snapshot" %} + {% trans "Manage Snapshots" %}
  • 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', '')