mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
Merge pull request #6914 from mabashian/associate-host-preview
Show multiselect preview when associating related hosts
This commit is contained in:
commit
b4ae29e34b
@ -12,6 +12,6 @@ import NestedGroupForm from './group-nested-groups.form';
|
||||
export default
|
||||
angular.module('nestedGroups', [])
|
||||
.factory('NestedGroupForm', NestedGroupForm)
|
||||
.value('NestedGroupListDefinition', nestedGroupListDefinition)
|
||||
.factory('NestedGroupListDefinition', nestedGroupListDefinition)
|
||||
.controller('NestedGroupsListController', controller)
|
||||
.controller('NestedGroupsAddController', addController);
|
||||
|
||||
@ -30,6 +30,10 @@
|
||||
list.multiSelect = true;
|
||||
list.fields.name.ngClick = 'linkoutHost(associate_host)';
|
||||
list.trackBy = 'associate_host.id';
|
||||
list.multiSelectPreview = {
|
||||
selectedRows: 'selectedItems',
|
||||
availableRows: 'associate_hosts'
|
||||
};
|
||||
delete list.fields.toggleHost;
|
||||
delete list.fields.active_failures;
|
||||
delete list.fields.inventory;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header Form-header">
|
||||
<div class="Form-title Form-title--uppercase" translate>SELECT HOSTS</div>\
|
||||
<div class="Form-title Form-title--uppercase" translate>SELECT HOSTS</div>
|
||||
<div class="Form-header--fields"></div>
|
||||
<div class="Form-exitHolder">
|
||||
<button type="button" class="Form-exit" ng-click="closeModal()">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user