mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 05:01:09 -02:30
Clicking anywhere on Group name column now selects the row on Inventory detail page.
This commit is contained in:
@@ -23,6 +23,7 @@ angular.module('InventoryGroupsDefinition', [])
|
|||||||
label: 'Groups',
|
label: 'Groups',
|
||||||
key: true,
|
key: true,
|
||||||
ngClick: "showHosts(group.id,group.group_id, false)",
|
ngClick: "showHosts(group.id,group.group_id, false)",
|
||||||
|
columnClick: "showHosts(group.id,group.group_id, false)",
|
||||||
ngClass: "group.selected_class",
|
ngClass: "group.selected_class",
|
||||||
hasChildren: true,
|
hasChildren: true,
|
||||||
columnClass: 'col-lg-9 col-md-9 col-sm-7 col-xs-7',
|
columnClass: 'col-lg-9 col-md-9 col-sm-7 col-xs-7',
|
||||||
|
|||||||
@@ -461,6 +461,7 @@ angular.module('GeneratorHelpers', ['GeneratorHelpers'])
|
|||||||
"(" + list.iterator + ".id)\"" : "";
|
"(" + list.iterator + ".id)\"" : "";
|
||||||
html += (field.columnShow) ? Attr(field, 'columnShow') : "";
|
html += (field.columnShow) ? Attr(field, 'columnShow') : "";
|
||||||
html += (field.ngBindHtml) ? "ng-bind-html=\"" + field.ngBindHtml + "\" " : "";
|
html += (field.ngBindHtml) ? "ng-bind-html=\"" + field.ngBindHtml + "\" " : "";
|
||||||
|
html += (field.columnClick) ? "ng-click=\"" + field.columnClick + "\" " : "";
|
||||||
html += ">\n";
|
html += ">\n";
|
||||||
|
|
||||||
// Add ngShow
|
// Add ngShow
|
||||||
|
|||||||
Reference in New Issue
Block a user