1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Update instance group breadcrumb strings

This commit is contained in:
Marliana Lara 2018-06-19 15:07:37 -04:00
parent 520293dd2e
commit 540f4fa956
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE
2 changed files with 6 additions and 5 deletions

View File

@ -5,6 +5,8 @@ function InstanceGroupsStrings (BaseString) {
const ns = this.instanceGroups;
ns.state = {
INSTANCE_GROUPS_BREADCRUMB_LABEL: t.s('INSTANCE GROUPS'),
INSTANCES_BREADCRUMB_LABEL: t.s('INSTANCES'),
ADD_BREADCRUMB_LABEL: t.s('CREATE INSTANCE GROUP'),
EDIT_BREADCRUMB_LABEL: t.s('EDIT INSTANCE GROUP')
};

View File

@ -61,13 +61,13 @@ InstanceGroupsResolve.$inject = [
'InstanceModel'
];
function InstanceGroupsRun ($stateExtender, strings, ComponentsStrings) {
function InstanceGroupsRun ($stateExtender, strings) {
$stateExtender.addState({
name: 'instanceGroups',
url: '/instance_groups',
searchPrefix: 'instance_group',
ncyBreadcrumb: {
label: ComponentsStrings.get('layout.INSTANCE_GROUPS')
label: strings.get('state.INSTANCE_GROUPS_BREADCRUMB_LABEL')
},
params: {
instance_group_search: {
@ -232,7 +232,7 @@ function InstanceGroupsRun ($stateExtender, strings, ComponentsStrings) {
url: '/:instance_group_id/instances',
ncyBreadcrumb: {
parent: 'instanceGroups.edit',
label: ComponentsStrings.get('layout.INSTANCES')
label: strings.get('state.INSTANCES_BREADCRUMB_LABEL')
},
params: {
instance_search: {
@ -296,8 +296,7 @@ function InstanceGroupsRun ($stateExtender, strings, ComponentsStrings) {
InstanceGroupsRun.$inject = [
'$stateExtender',
'InstanceGroupsStrings',
'ComponentsStrings'
'InstanceGroupsStrings'
];
angular.module(MODULE_NAME, [])