diff --git a/modules/openstack_project/files/zuul/status.js b/modules/openstack_project/files/zuul/status.js index 4b73aa8539..c48836f868 100644 --- a/modules/openstack_project/files/zuul/status.js +++ b/modules/openstack_project/files/zuul/status.js @@ -272,9 +272,12 @@ function format_change(change, change_queue) { // Row #1 of the header (project and remaining time) html += '' + change['project'] + ''; - html += ''; - html += format_time(change['remaining_time'], true); - html += '
'; + if (change.live === true) { + html += ''; + html += format_time(change['remaining_time'], true); + html += ''; + } + html += '
'; // Row #2 of the header (change id and enqueue time) html += ' '; @@ -297,9 +300,10 @@ function format_change(change, change_queue) { html += ' '; } html += ''; - html += ''; - html += format_enqueue_time(change['enqueue_time']) + ''; - + if (change.live === true) { + html += ''; + html += format_enqueue_time(change['enqueue_time']) + ''; + } html += ''; // Job listing from here down