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:
parent
894b4c822d
commit
bab20a4e62
@ -240,6 +240,8 @@ function format_change(change, change_queue) {
|
|||||||
if (i == change['_tree_index']) {
|
if (i == change['_tree_index']) {
|
||||||
if (change['active'] != true) {
|
if (change['active'] != true) {
|
||||||
html += '<img src="grey.png" title="Waiting until closer to head of queue to start jobs"/>';
|
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) {
|
} else if (change['failing_reasons'] && change['failing_reasons'].length > 0) {
|
||||||
var reason = change['failing_reasons'].join(', ');
|
var reason = change['failing_reasons'].join(', ');
|
||||||
var image = 'red.png';
|
var image = 'red.png';
|
||||||
|
Loading…
Reference in New Issue
Block a user