Made Create Snapshot load in modal.
* fixes bug 944498 Change-Id: I0274c715117af97521a610ae0e639418dd9bb13b
This commit is contained in:
parent
c16ba74d9f
commit
7423d110fc
@ -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",)
|
||||
|
Loading…
x
Reference in New Issue
Block a user