Skip to content

Commit

Permalink
Merge "Made Create Snapshot load in modal."
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Mar 3, 2012
2 parents 8f339f5 + 7423d11 commit eb72487
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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",)
Expand Down

0 comments on commit eb72487

Please sign in to comment.