mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Add updates to instance groups strings file
This commit is contained in:
@@ -9,6 +9,10 @@ function InstanceGroupsStrings (BaseString) {
|
|||||||
EDIT_BREADCRUMB_LABEL: t.s('EDIT INSTANCE GROUP')
|
EDIT_BREADCRUMB_LABEL: t.s('EDIT INSTANCE GROUP')
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ns.list = {
|
||||||
|
PANEL_TITLE: t.s('INSTANCE GROUPS')
|
||||||
|
};
|
||||||
|
|
||||||
ns.tab = {
|
ns.tab = {
|
||||||
DETAILS: t.s('DETAILS'),
|
DETAILS: t.s('DETAILS'),
|
||||||
INSTANCES: t.s('INSTANCES'),
|
INSTANCES: t.s('INSTANCES'),
|
||||||
@@ -27,6 +31,17 @@ function InstanceGroupsStrings (BaseString) {
|
|||||||
ns.jobs = {
|
ns.jobs = {
|
||||||
PANEL_TITLE: t.s('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'];
|
InstanceGroupsStrings.$inject = ['BaseStringService'];
|
||||||
|
|||||||
@@ -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) {
|
function($scope, $filter, $state, Alert, resolvedModels, Dataset, strings, ProcessErrors, Prompt, Wait) {
|
||||||
const vm = this;
|
const vm = this;
|
||||||
const { instanceGroup } = resolvedModels;
|
const { instanceGroup } = resolvedModels;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<at-panel>
|
<at-panel>
|
||||||
<at-panel-heading hide-dismiss="true">
|
<at-panel-heading hide-dismiss="true">
|
||||||
{{ vm.strings.get('layout.INSTANCE_GROUPS') }}
|
{{ vm.strings.get('list.PANEL_TITLE') }}
|
||||||
<span class="badge List-titleBadge">
|
<span class="badge List-titleBadge">
|
||||||
{{ instanceGroupCount }}
|
{{ instanceGroupCount }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user