Zuul status: Use a grey icon for non-live changes

Update the zuul status page javascript to use a grey icon when
representing non-live changes.  This change has already been made
in the zuul project js.

Change-Id: I60bfa3b7f24e9638fe9be41f07ee472827fb64f9
This commit is contained in:
James E. Blair 2015-02-09 13:03:10 -08:00
parent 894b4c822d
commit bab20a4e62

View File

@ -240,6 +240,8 @@ function format_change(change, change_queue) {
if (i == change['_tree_index']) {
if (change['active'] != true) {
html += '<img src="grey.png" title="Waiting until closer to head of queue to start jobs"/>';
} else if (change.live != true) {
html += '<img src="grey.png" title="Dependent change independently tested"/>';
} else if (change['failing_reasons'] && change['failing_reasons'].length > 0) {
var reason = change['failing_reasons'].join(', ');
var image = 'red.png';