mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
Fixed home page to work with new Utilities.GetChoices, which is used to get select options from the API.
This commit is contained in:
committed by
Chris Church
parent
8a3a0d219c
commit
7f7140ccda
@@ -28,7 +28,9 @@ angular.module('JobStatusWidget', ['RestServices', 'Utilities'])
|
||||
function makeRow(label, count, fail) {
|
||||
var html = '';
|
||||
html += "<tr>\n";
|
||||
html += "<td><a href=\"/#/" + label.toLowerCase() + "\">" + label + "</a></td>\n";
|
||||
html += "<td><a href=\"/#/" + label.toLowerCase() + "\"";
|
||||
html += (label == 'Hosts' || label == 'Groups') ? " class=\"pad-left-sm\" " : "";
|
||||
html += ">" + label + "</a></td>\n";
|
||||
html += "<td class=\"failed-column text-right\">";
|
||||
html += (fail > 0) ? "<a href=\"/blah/blah\">" + fail + "</a>" : "";
|
||||
html += "</td>\n";
|
||||
|
||||
Reference in New Issue
Block a user