Merge "Made Create Snapshot load in modal."

This commit is contained in:
Jenkins 2012-03-03 03:46:49 +00:00 committed by Gerrit Code Review
commit eb724878fa

View File

@ -59,6 +59,7 @@ class CreateSnapshot(tables.LinkAction):
name = "snapshots"
verbose_name = _("Create Snapshot")
url = "horizon:nova:instances_and_volumes:volumes:create_snapshot"
attrs = {"class": "ajax-modal"}
def allowed(self, request, volume=None):
return volume.status in ("available",)