mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 04:45:03 -02:30
fix linting errors and add note to host groups disassocation modal
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import Base from '../Base';
|
import Base from '../Base';
|
||||||
import { TintSlashIcon } from '@patternfly/react-icons';
|
|
||||||
|
|
||||||
class Hosts extends Base {
|
class Hosts extends Base {
|
||||||
constructor(http) {
|
constructor(http) {
|
||||||
|
|||||||
@@ -186,6 +186,12 @@ function HostGroupsList({ i18n, location, match, host }) {
|
|||||||
onDisassociate={handleDisassociate}
|
onDisassociate={handleDisassociate}
|
||||||
itemsToDisassociate={selected}
|
itemsToDisassociate={selected}
|
||||||
modalTitle={i18n._(t`Disassociate group from host?`)}
|
modalTitle={i18n._(t`Disassociate group from host?`)}
|
||||||
|
modalNote={i18n._(t`
|
||||||
|
Note that you may still see the group in the list after
|
||||||
|
disassociating if the host is also a member of that group’s
|
||||||
|
children. This list shows all groups the host is associated
|
||||||
|
with directly and indirectly.
|
||||||
|
`)}
|
||||||
/>,
|
/>,
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -184,6 +184,12 @@ function InventoryHostGroupsList({ i18n, location, match }) {
|
|||||||
onDisassociate={handleDisassociate}
|
onDisassociate={handleDisassociate}
|
||||||
itemsToDisassociate={selected}
|
itemsToDisassociate={selected}
|
||||||
modalTitle={i18n._(t`Disassociate group from host?`)}
|
modalTitle={i18n._(t`Disassociate group from host?`)}
|
||||||
|
modalNote={i18n._(t`
|
||||||
|
Note that you may still see the group in the list after
|
||||||
|
disassociating if the host is also a member of that group’s
|
||||||
|
children. This list shows all groups the host is associated
|
||||||
|
with directly and indirectly.
|
||||||
|
`)}
|
||||||
/>,
|
/>,
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user