If the volume has a snapshot, it is not allowed to
delete it. In tables the delete action is hidden but
if we go to the volume detail page, the delete action
is available.
This patch hides the delete volume on detail page too.
Change-Id: I4d8690b035dedd7ebcacb3479d346cfb3fb324f1
Closes-Bug: #1546423
(cherry picked from commit 49a1a6356d8239d5f463c4e09564171dcccaa662)
Reviewed: https:/ /review. openstack. org/283024 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=238e2351f8c 616931b5be7cfba 5ed153bb302bd8
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 238e2351f8c6169 31b5be7cfba5ed1 53bb302bd8
Author: Masco Kaliyamoorthy <email address hidden>
Date: Wed Feb 17 19:45:38 2016 +0530
Hide delete volume if it has snapshot
If the volume has a snapshot, it is not allowed to
delete it. In tables the delete action is hidden but
if we go to the volume detail page, the delete action
is available.
This patch hides the delete volume on detail page too.
Change-Id: I4d8690b035dedd 7ebcacb3479d346 cfb3fb324f1 5f463c4e0956417 1dcccaa662)
Closes-Bug: #1546423
(cherry picked from commit 49a1a6356d8239d