mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
make activity stream cred types work
This commit is contained in:
parent
9d1853f6df
commit
0673e21e4b
@ -7,6 +7,9 @@ export default function GetTargetTitle(i18n) {
|
||||
case 'project':
|
||||
rtnTitle = i18n._('PROJECTS');
|
||||
break;
|
||||
case 'credential_type':
|
||||
rtnTitle = i18n._('CREDENTIAL TYPES');
|
||||
break;
|
||||
case 'inventory':
|
||||
rtnTitle = i18n._('INVENTORIES');
|
||||
break;
|
||||
|
||||
@ -21,6 +21,9 @@ export default function ModelToBasePathKey() {
|
||||
case 'project':
|
||||
basePathKey = 'projects';
|
||||
break;
|
||||
case 'credential_type':
|
||||
basePathKey = 'credential_types';
|
||||
break;
|
||||
case 'inventory':
|
||||
basePathKey = 'inventory';
|
||||
break;
|
||||
|
||||
@ -29,6 +29,7 @@ export default ['templateUrl', 'i18n', function(templateUrl, i18n) {
|
||||
{label: i18n._('Notification Templates'), value: 'notification_template'},
|
||||
{label: i18n._('Organizations'), value: 'organization'},
|
||||
{label: i18n._('Projects'), value: 'project'},
|
||||
{label: i18n._('Credential Types'), value: 'credential_type'},
|
||||
{label: i18n._('Schedules'), value: 'schedule'},
|
||||
{label: i18n._('Teams'), value: 'team'},
|
||||
{label: i18n._('Templates'), value: 'template'},
|
||||
|
||||
@ -38,7 +38,7 @@ angular.module('credentialTypes', [
|
||||
},
|
||||
data: {
|
||||
activityStream: true,
|
||||
activityStreamTarget: 'custom_inventory_script' // TODO: change to 'credential_type'...there's probably more work that needs to be done to hook up activity stream
|
||||
activityStreamTarget: 'credential_type'
|
||||
},
|
||||
ncyBreadcrumb: {
|
||||
parent: 'setup',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user