mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 01:08:48 -03:30
#3348 added description to host list on inventories related hosts
Signed-off-by: Jose Ariza <l.jlac001@gmail.com>
This commit is contained in:
@@ -64,7 +64,17 @@ export default ['i18n', function(i18n) {
|
|||||||
label: i18n._('Hosts'),
|
label: i18n._('Hosts'),
|
||||||
uiSref: ".edit({inventory_id: host.inventory_id,host_id: host.id})",
|
uiSref: ".edit({inventory_id: host.inventory_id,host_id: host.id})",
|
||||||
ngClass: "{ 'host-disabled-label': !host.enabled }",
|
ngClass: "{ 'host-disabled-label': !host.enabled }",
|
||||||
columnClass: 'col-lg-5 col-md-4 col-sm-8 col-xs-7',
|
columnClass: 'col-lg-3 col-md-3 col-sm-8 col-xs-7',
|
||||||
|
dataHostId: "{{ host.id }}",
|
||||||
|
dataType: "host",
|
||||||
|
class: 'InventoryManage-breakWord'
|
||||||
|
},
|
||||||
|
description: {
|
||||||
|
key: true,
|
||||||
|
label: i18n._('Description'),
|
||||||
|
uiSref: ".edit({inventory_id: host.inventory_id,host_id: host.id})",
|
||||||
|
ngClass: "{ 'host-disabled-label': !host.enabled }",
|
||||||
|
columnClass: 'col-lg-3 col-md-3 col-sm-8 col-xs-7',
|
||||||
dataHostId: "{{ host.id }}",
|
dataHostId: "{{ host.id }}",
|
||||||
dataType: "host",
|
dataType: "host",
|
||||||
class: 'InventoryManage-breakWord'
|
class: 'InventoryManage-breakWord'
|
||||||
@@ -74,13 +84,13 @@ export default ['i18n', function(i18n) {
|
|||||||
type: 'related_groups',
|
type: 'related_groups',
|
||||||
nosort: true,
|
nosort: true,
|
||||||
showDelete: true,
|
showDelete: true,
|
||||||
columnClass: 'd-none d-md-flex List-tableCell col-lg-5 col-md-4'
|
columnClass: 'd-none d-md-flex List-tableCell col-lg-3 col-md-3'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
fieldActions: {
|
fieldActions: {
|
||||||
|
|
||||||
columnClass: 'col-lg-2 col-sm-4 col-xs-5 text-right',
|
columnClass: 'col-lg-2 col-sm-3 col-xs-5 text-right',
|
||||||
edit: {
|
edit: {
|
||||||
ngClick: "editHost(host)",
|
ngClick: "editHost(host)",
|
||||||
icon: 'icon-edit',
|
icon: 'icon-edit',
|
||||||
|
|||||||
Reference in New Issue
Block a user