diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/server-groups/server-groups.controller.js b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/server-groups/server-groups.controller.js index 0101d14954..4ab5faf311 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/server-groups/server-groups.controller.js +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/server-groups/server-groups.controller.js @@ -34,6 +34,12 @@ */ function LaunchInstanceServerGroupsController(launchInstanceModel) { var ctrl = this; + ctrl.policies = { + 'affinity': gettext('Affinity'), + 'anti-affinity': gettext('Anti Affinity'), + 'soft-anti-affinity': gettext('Soft Anti Affinity'), + 'soft-affinity': gettext('Soft Affinity') + }; ctrl.tableData = { available: launchInstanceModel.serverGroups, diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/server-groups/server-groups.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/server-groups/server-groups.html index c2b1c85bbf..252f241948 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/server-groups/server-groups.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/server-groups/server-groups.html @@ -42,7 +42,7 @@