mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Add updates to instance groups strings file
This commit is contained in:
parent
6beaa4b166
commit
46f6c67566
@ -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'];
|
||||
|
@ -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;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<at-panel>
|
||||
<at-panel-heading hide-dismiss="true">
|
||||
{{ vm.strings.get('layout.INSTANCE_GROUPS') }}
|
||||
{{ vm.strings.get('list.PANEL_TITLE') }}
|
||||
<span class="badge List-titleBadge">
|
||||
{{ instanceGroupCount }}
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user