1
0
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:
Marliana Lara 2018-04-10 15:06:14 -04:00
parent 6beaa4b166
commit 46f6c67566
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE
3 changed files with 17 additions and 2 deletions

View File

@ -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'];

View File

@ -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;

View File

@ -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>