diff --git a/awx/ui/client/legacy-styles/lists.less b/awx/ui/client/legacy-styles/lists.less index 0dd92dbdff..87d62cee2e 100644 --- a/awx/ui/client/legacy-styles/lists.less +++ b/awx/ui/client/legacy-styles/lists.less @@ -260,6 +260,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 1cc99c4d7c..9190d42a8b 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 aed7d93652..15fe8648c7 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 @@ -348,7 +348,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