1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Merge pull request #350 from mabashian/7488-smart-inv-host-filter

Updated smart inv host filter list empty text
This commit is contained in:
Michael Abashian 2017-08-28 15:21:45 -04:00 committed by GitHub
commit 41b1dc2ddd
2 changed files with 3 additions and 0 deletions

View File

@ -346,6 +346,8 @@ table, tbody {
background-color: @default-no-items-bord;
color: @list-no-items-txt;
text-transform: uppercase;
text-align: center;
padding: 10px;
}
.modal-body > .List-noItems {

View File

@ -50,6 +50,7 @@ export default ['templateUrl', function(templateUrl) {
hostList.well = false;
delete hostList.fields.inventory.ngClick;
hostList.fields.inventory.ngBind = 'host.summary_fields.inventory.name';
hostList.emptyListText = 'You must have access to at least one host in order to create a smart inventory host filter';
let html = GenerateList.build({
list: hostList,
input_type: 'host-filter-modal-body',