Merge "Reflect zuul window in status page."

This commit is contained in:
Jenkins 2014-01-24 01:13:17 +00:00 committed by Gerrit Code Review
commit d99d1442c4
3 changed files with 9 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

View File

@ -226,7 +226,9 @@ function format_change(change, change_queue) {
}
html += '<td class="'+cls+'">';
if (i == change['_tree_index']) {
if (change['failing_reasons'] && change['failing_reasons'].length > 0) {
if (change['active'] != true) {
html += '<img src="grey.png" title="Waiting until closer to head of queue to start jobs"/>';
} else if (change['failing_reasons'] && change['failing_reasons'].length > 0) {
var reason = change['failing_reasons'].join(', ');
var image = 'red.png';
if (reason.match(/merge conflict/)) {

View File

@ -186,6 +186,12 @@ class openstack_project::status (
require => File['/srv/static/status/zuul'],
}
file { '/srv/static/status/zuul/grey.png':
ensure => present,
source => 'puppet:///modules/openstack_project/zuul/grey.png',
require => File['/srv/static/status/zuul'],
}
file { '/srv/static/status/zuul/line-angle.png':
ensure => present,
source => 'puppet:///modules/openstack_project/zuul/line-angle.png',