mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 22:19:28 -02:30
Merge pull request #350 from mabashian/7488-smart-inv-host-filter
Updated smart inv host filter list empty text
This commit is contained in:
@@ -346,6 +346,8 @@ table, tbody {
|
|||||||
background-color: @default-no-items-bord;
|
background-color: @default-no-items-bord;
|
||||||
color: @list-no-items-txt;
|
color: @list-no-items-txt;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
text-align: center;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-body > .List-noItems {
|
.modal-body > .List-noItems {
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ export default ['templateUrl', function(templateUrl) {
|
|||||||
hostList.well = false;
|
hostList.well = false;
|
||||||
delete hostList.fields.inventory.ngClick;
|
delete hostList.fields.inventory.ngClick;
|
||||||
hostList.fields.inventory.ngBind = 'host.summary_fields.inventory.name';
|
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({
|
let html = GenerateList.build({
|
||||||
list: hostList,
|
list: hostList,
|
||||||
input_type: 'host-filter-modal-body',
|
input_type: 'host-filter-modal-body',
|
||||||
|
|||||||
Reference in New Issue
Block a user