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:
commit
41b1dc2ddd
@ -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 {
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user