be able to hide/disable action menu item if not relevant
Bug #1327310 reported by
Cindy Lu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Ashish Chandra |
Bug Description
I am not sure how dynamic the action menu is, but...
For Project > Volumes table if I have a volume that is not bootable, the "Launch as Instance" action should be hidden/disabled so it doesn't confuse the user when they do attempt to launch it.
Changed in horizon: | |
assignee: | nobody → Ashish Chandra (ashish-chandra) |
Changed in horizon: | |
importance: | Undecided → Low |
Changed in horizon: | |
milestone: | none → juno-rc1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-rc1 → 2014.2 |
To post a comment you must log in.
There's a "bootable" attribute on Volumes that we could probably use in the allowed() function for the LaunchAction.
https:/ /github. com/openstack/ horizon/ blob/a04d81e026 /openstack_ dashboard/ dashboards/ project/ volumes/ volumes/ tables. py#L36 /github. com/openstack/ horizon/ blob/a04d81e026 2f56c805b3de51b c69a1af2db0178b /openstack_ dashboard/ api/cinder. py#L79
https:/