diff --git a/awx/ui/client/features/applications/index.js b/awx/ui/client/features/applications/index.js index ca70be6165..448ea12f88 100644 --- a/awx/ui/client/features/applications/index.js +++ b/awx/ui/client/features/applications/index.js @@ -62,7 +62,6 @@ function ApplicationsRun ($stateExtender, strings) { }, data: { activityStream: true, - // TODO: double-check activity stream works activityStreamTarget: 'application' }, views: { @@ -111,7 +110,6 @@ function ApplicationsRun ($stateExtender, strings) { }, data: { activityStream: true, - // TODO: double-check activity stream works activityStreamTarget: 'application' }, views: { diff --git a/awx/ui/client/src/activity-stream/get-target-title.factory.js b/awx/ui/client/src/activity-stream/get-target-title.factory.js index 3921f2d530..f782769c5c 100644 --- a/awx/ui/client/src/activity-stream/get-target-title.factory.js +++ b/awx/ui/client/src/activity-stream/get-target-title.factory.js @@ -43,6 +43,9 @@ export default function GetTargetTitle(i18n) { case 'template': rtnTitle = i18n._('TEMPLATES'); break; + case 'application': + rtnTitle = i18n._('APPLICATIONS'); + break; } return rtnTitle; diff --git a/awx/ui/client/src/activity-stream/model-to-base-path-key.factory.js b/awx/ui/client/src/activity-stream/model-to-base-path-key.factory.js index 10285871d0..f6a45e6bdd 100644 --- a/awx/ui/client/src/activity-stream/model-to-base-path-key.factory.js +++ b/awx/ui/client/src/activity-stream/model-to-base-path-key.factory.js @@ -18,6 +18,9 @@ export default function ModelToBasePathKey() { var basePathKey; switch(model) { + case 'application': + basePathKey = 'applications'; + break; case 'project': basePathKey = 'projects'; break; diff --git a/awx/ui/client/src/activity-stream/streamDropdownNav/stream-dropdown-nav.directive.js b/awx/ui/client/src/activity-stream/streamDropdownNav/stream-dropdown-nav.directive.js index 7231cdd9c2..601e65f1ac 100644 --- a/awx/ui/client/src/activity-stream/streamDropdownNav/stream-dropdown-nav.directive.js +++ b/awx/ui/client/src/activity-stream/streamDropdownNav/stream-dropdown-nav.directive.js @@ -21,6 +21,7 @@ export default ['templateUrl', 'i18n', function(templateUrl, i18n) { $scope.options = [ {label: i18n._('All Activity'), value: 'dashboard'}, + {label: i18n._('Applications'), value: 'application'}, {label: i18n._('Credentials'), value: 'credential'}, {label: i18n._('Hosts'), value: 'host'}, {label: i18n._('Inventories'), value: 'inventory'},