mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 05:01:19 -03:30
widgets/Stream.js
added check for system_job_templates for when processing activity stream rows
This commit is contained in:
parent
e2a56f2d65
commit
e499dda709
@ -456,6 +456,10 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti
|
||||
type = 'project';
|
||||
url = '/projects/' + activity.summary_fields[type].id + '/schedules/?id__int=';
|
||||
}
|
||||
else if (activity.summary_fields.system_job_template) {
|
||||
type = 'system_job_template';
|
||||
url = '/system_job_templates/' + activity.summary_fields[type].id + '/schedules/?id__int=';
|
||||
}
|
||||
else if (activity.summary_fields.job_template) {
|
||||
type = 'job_template';
|
||||
url = '/job_templates/' + activity.summary_fields[type].id + '/schedules/?id__int=';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user