mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
AC-175 on Job Events page, Event is the now the only linkd or clickable column. Clicking expands or collapses parent nodes.
This commit is contained in:
parent
1eb82e2f01
commit
184430d0a2
@ -23,7 +23,7 @@ angular.module('JobEventsListDefinition', [])
|
||||
key: true,
|
||||
nosort: true,
|
||||
searchable: false,
|
||||
ngClick: "viewJobEvent(\{\{ jobevent.id \}\})",
|
||||
link: false
|
||||
},
|
||||
status: {
|
||||
label: 'Status',
|
||||
@ -38,13 +38,12 @@ angular.module('JobEventsListDefinition', [])
|
||||
event_display: {
|
||||
label: 'Event',
|
||||
hasChildren: true,
|
||||
ngClick: "viewJobEvent(\{\{ jobevent.id \}\})",
|
||||
ngClick: "toggleChildren(\{\{ jobevent.id \}\}, '\{\{ jobevent.related.children \}\}')",
|
||||
nosort: true,
|
||||
searchable: false
|
||||
},
|
||||
host: {
|
||||
label: 'Host',
|
||||
ngClick: "viewJobEvent(\{\{ jobevent.id \}\})",
|
||||
ngBind: 'jobevent.summary_fields.host.name',
|
||||
searchField: 'hosts__name',
|
||||
nosort: true,
|
||||
|
@ -105,7 +105,7 @@ angular.module('GeneratorHelpers', ['GeneratorHelpers'])
|
||||
else if (field.ngClick) {
|
||||
html += "<a href=\"\"" + Attr(field, 'ngClick') + "\">";
|
||||
}
|
||||
else {
|
||||
else if (field.link == undefined || field.link) {
|
||||
html += "<a href=\"#/" + base + "/{{" + list.iterator + ".id }}\">";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user