mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
PR Feedback
This commit is contained in:
parent
091c567035
commit
a16cb2cd69
@ -1839,7 +1839,6 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
|
||||
// Show the "no items" box when loading is done and the user isn't actively searching and there are no results
|
||||
// Allow for the suppression of the empty list text to avoid duplication between form generator and list generator
|
||||
//if(collection.hideOnSuperuser && collection.hideOnSuperuser !== true) {
|
||||
var emptyListText = (collection.emptyListText) ? collection.emptyListText : "PLEASE ADD ITEMS TO THIS LIST";
|
||||
html += '<div ng-hide="is_superuser">';
|
||||
html += "<div class=\"List-noItems\" ng-hide=\"is_superuser\" ng-show=\"" + collection.iterator + "Loading == false && " + collection.iterator + "_active_search == false && " + collection.iterator + "_total_rows < 1\">" + emptyListText + "</div>";
|
||||
|
Loading…
Reference in New Issue
Block a user