diff --git a/awx/ui/static/js/controllers/Inventories.js b/awx/ui/static/js/controllers/Inventories.js index 65aa7dc7a5..e976465537 100644 --- a/awx/ui/static/js/controllers/Inventories.js +++ b/awx/ui/static/js/controllers/Inventories.js @@ -521,7 +521,7 @@ function InventoriesEdit ($scope, $location, $routeParams, $compile, GenerateLis } $scope.showGroupActivity = function() { - var url, title, group; + var url, title, group; if ($scope.selected_group_id) { group = Find({ list: $scope.groups, key: 'id', val: $scope.selected_tree_id }); url = GetBasePath('activity_stream') + '?group__id=' + $scope.selected_group_id; diff --git a/awx/ui/static/js/lists/InventoryHosts.js b/awx/ui/static/js/lists/InventoryHosts.js index a299760030..c0f9ad40b0 100644 --- a/awx/ui/static/js/lists/InventoryHosts.js +++ b/awx/ui/static/js/lists/InventoryHosts.js @@ -100,7 +100,7 @@ angular.module('InventoryHostsDefinition', []) ngHide: 'selected_tree_id == 1', //disable when 'All Hosts' selected awToolTip: "Create a new host" }, - stream: { + stream: { ngClick: "showHostActivity()", awToolTip: "View Activity Stream", mode: 'all', diff --git a/awx/ui/static/js/widgets/Stream.js b/awx/ui/static/js/widgets/Stream.js index b4d398505f..fe34fc04d4 100644 --- a/awx/ui/static/js/widgets/Stream.js +++ b/awx/ui/static/js/widgets/Stream.js @@ -195,7 +195,7 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti if (activity.changes && activity.changes.name) { if (typeof activity.changes.name == 'string') { name = ' ' + activity.changes.name; - name_nolink = name; + name_nolink = name; } else if (typeof activity.changes.name == 'object' && Array.isArray(activity.changes.name)) { name = ' ' + activity.changes.name[0]; @@ -219,7 +219,7 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti if (activity.operation != 'delete') { obj1_obj['base'] = obj1; name = ' ' + '' + obj1_obj.id + ''; - name_nolink = ' ' + obj1_obj.id; + name_nolink = ' ' + obj1_obj.id; } else { name = ' ' + obj1_obj.id; @@ -229,7 +229,7 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti } else if (obj1_obj && obj1_obj.name) { name = ' ' + stripDeleted(obj1_obj.name); - name_nolink = name; + name_nolink = name; } descr += obj1 + name; descr_nolink += obj1 + name_nolink;