mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03:30
widgets/Stream.js
added check for system_job_templates for when processing activity stream rows
This commit is contained in:
@@ -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=';
|
||||
|
||||
Reference in New Issue
Block a user