Status: only display time on live changes

Time has no meaning for non-live changes.  Really only the time
for the live change at the end of the list has any relevance.
The enqueue time is just repeated, and the ETA of 0 is just weird.
Don't display them for non-live changes.

Change-Id: I93f0fc5bedb6c8bca7128c6a1d06a447248cb9d8
This commit is contained in:
James E. Blair 2015-02-11 18:32:19 -08:00
parent d1d3ce34b6
commit 6dc954b1e7
1 changed files with 5 additions and 3 deletions

View File

@ -316,9 +316,11 @@
var $enqueue_time = $('<small />').addClass('time')
.attr('title', 'Elapsed Time').html(enqueue_time);
var $right = $('<div />')
.addClass('col-xs-4 text-right')
.append($remaining_time, $('<br />'), $enqueue_time);
var $right = $('<div />');
if (change.live === true) {
$right.addClass('col-xs-4 text-right')
.append($remaining_time, $('<br />'), $enqueue_time);
}
var $header = $('<div />')
.addClass('row')