diff --git a/awx/ui/client/legacy-styles/lists.less b/awx/ui/client/legacy-styles/lists.less index 38d1945e9b..e021833e5d 100644 --- a/awx/ui/client/legacy-styles/lists.less +++ b/awx/ui/client/legacy-styles/lists.less @@ -266,6 +266,7 @@ table, tbody { border: 1px solid @list-no-items-bord; background-color: @list-no-items-bg; color: @list-no-items-txt; + text-transform: uppercase; } .List-editButton--selected { diff --git a/awx/ui/client/src/lists/Streams.js b/awx/ui/client/src/lists/Streams.js index b3dc97af84..4cf443c0b8 100644 --- a/awx/ui/client/src/lists/Streams.js +++ b/awx/ui/client/src/lists/Streams.js @@ -14,6 +14,7 @@ export default editTitle: 'Activity Stream', listTitle: 'Activity Stream
{{streamSubTitle}}', listTitleBadge: false, + emptyListText: 'There are no events to display at this time', selectInstructions: '', index: false, hover: true, diff --git a/awx/ui/client/src/shared/list-generator/list-generator.factory.js b/awx/ui/client/src/shared/list-generator/list-generator.factory.js index 54b40b74c3..304478ab3c 100644 --- a/awx/ui/client/src/shared/list-generator/list-generator.factory.js +++ b/awx/ui/client/src/shared/list-generator/list-generator.factory.js @@ -353,7 +353,9 @@ export default ['$location', '$compile', '$rootScope', 'SearchWidget', 'Paginate } // Show the "no items" box when loading is done and the user isn't actively searching and there are no results - html += "
PLEASE ADD ITEMS TO THIS LIST
"; + html += "
"; + html += (list.emptyListText) ? list.emptyListText : "PLEASE ADD ITEMS TO THIS LIST"; + html += "
"; if (options.showSearch=== undefined || options.showSearch === true) { // Only show the search bar if we are loading results or if we have at least 1 base result