--- a/components/openstack/horizon/files/overrides.py Mon Jul 07 14:51:25 2014 -0700
+++ b/components/openstack/horizon/files/overrides.py Mon Jul 07 20:22:27 2014 -0700
@@ -29,6 +29,9 @@
DeleteNetwork, NetworksTable
from openstack_dashboard.dashboards.project.access_and_security.tabs import \
AccessAndSecurityTabs, APIAccessTab, FloatingIPsTab, KeypairsTab
+from \
+ openstack_dashboard.dashboards.project.images_and_snapshots.images.tables \
+ import EditImage, DeleteImage, ImagesTable, LaunchImage
from openstack_dashboard.dashboards.project.instances import tables \
as project_tables
from openstack_dashboard.dashboards.project.instances.tabs import \
@@ -114,6 +117,10 @@
CreateSubnetInfoAction.base_fields['no_gateway'].widget.attrs['disabled'] = \
True
+# Remove 'CreateVolumeFromImage' checkbox from
+# Project/Images & Snapshots/Actions
+ImagesTable._meta.row_actions = (LaunchImage, EditImage, DeleteImage,)
+
# change 'allocation_pools' and 'host_routes' to readonly
base_fields = CreateSubnetDetailAction.base_fields
base_fields['allocation_pools'].widget.attrs['readonly'] = 'readonly'