diff --git a/awx/ui/client/src/instance-groups/instance-groups.strings.js b/awx/ui/client/src/instance-groups/instance-groups.strings.js index 5ec8f411e6..ee4c992b75 100644 --- a/awx/ui/client/src/instance-groups/instance-groups.strings.js +++ b/awx/ui/client/src/instance-groups/instance-groups.strings.js @@ -9,6 +9,10 @@ function InstanceGroupsStrings (BaseString) { EDIT_BREADCRUMB_LABEL: t.s('EDIT INSTANCE GROUP') }; + ns.list = { + PANEL_TITLE: t.s('INSTANCE GROUPS') + }; + ns.tab = { DETAILS: t.s('DETAILS'), INSTANCES: t.s('INSTANCES'), @@ -27,6 +31,17 @@ function InstanceGroupsStrings (BaseString) { ns.jobs = { PANEL_TITLE: t.s('Jobs') }; + + ns.error = { + HEADER: this.error.HEADER, + CALL: this.error.CALL, + DELETE: t.s('Unable to delete instance group.'), + }; + + ns.alert = { + MISSING_PARAMETER: t.s('Instance Group parameter is missing.'), + }; + } InstanceGroupsStrings.$inject = ['BaseStringService']; diff --git a/awx/ui/client/src/instance-groups/list/instance-groups-list.controller.js b/awx/ui/client/src/instance-groups/list/instance-groups-list.controller.js index 3a48660c62..97990c8679 100644 --- a/awx/ui/client/src/instance-groups/list/instance-groups-list.controller.js +++ b/awx/ui/client/src/instance-groups/list/instance-groups-list.controller.js @@ -1,4 +1,4 @@ -export default ['$scope', '$filter', '$state', 'Alert', 'resolvedModels', 'Dataset', 'ComponentsStrings', 'ProcessErrors', 'Prompt', 'Wait', +export default ['$scope', '$filter', '$state', 'Alert', 'resolvedModels', 'Dataset', 'InstanceGroupsStrings','ProcessErrors', 'Prompt', 'Wait', function($scope, $filter, $state, Alert, resolvedModels, Dataset, strings, ProcessErrors, Prompt, Wait) { const vm = this; const { instanceGroup } = resolvedModels; diff --git a/awx/ui/client/src/instance-groups/list/instance-groups-list.partial.html b/awx/ui/client/src/instance-groups/list/instance-groups-list.partial.html index 2600ce4094..3752f9876c 100644 --- a/awx/ui/client/src/instance-groups/list/instance-groups-list.partial.html +++ b/awx/ui/client/src/instance-groups/list/instance-groups-list.partial.html @@ -1,6 +1,6 @@ - {{ vm.strings.get('layout.INSTANCE_GROUPS') }} + {{ vm.strings.get('list.PANEL_TITLE') }} {{ instanceGroupCount }}