mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 19:07:36 -02:30
AC-1016 on host status fly-out job id now links to job detail page rather than showing modal dialog. Fixed js errors happening when job_template is deleted and cannot be found.
This commit is contained in:
@@ -99,7 +99,7 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H
|
||||
for (j=0; j < jobs.length; j++) {
|
||||
job = jobs[j];
|
||||
html += "<tr>\n";
|
||||
html += "<td><a ng-click=\"showJobSummary(" + job.id + ")\">" + job.id + "</a></td>\n";
|
||||
html += "<td><a href=\"/#/jobs/" + job.id + "\">" + job.id + "</a></td>\n";
|
||||
html += "<td class=\"text-center\"><a ng-click=\"showJobSummary(" + job.id + ")\"><i class=\"fa icon-job-" +
|
||||
job.status + "\"></i></a></td>\n";
|
||||
html += "<td><a href=\"/#/jobs/" + job.id + "/job_events/?host=" + encodeURI(host.name) + "\">Events</a> " +
|
||||
|
||||
Reference in New Issue
Block a user