Processed comments.

pull/3113/head
Taloth Saldono 11 years ago
parent ab154d924e
commit c6e33bc463

@ -80,9 +80,9 @@ namespace NzbDrone.Core.Download.Clients.Nzbget
{ {
var postQueueItem = postQueue.GetValueOrDefault(item.NzbId); var postQueueItem = postQueue.GetValueOrDefault(item.NzbId);
Int64 totalSize = MakeInt64(item.FileSizeHi, item.FileSizeLo); var totalSize = MakeInt64(item.FileSizeHi, item.FileSizeLo);
Int64 pausedSize = MakeInt64(item.PausedSizeHi, item.PausedSizeLo); var pausedSize = MakeInt64(item.PausedSizeHi, item.PausedSizeLo);
Int64 remainingSize = MakeInt64(item.RemainingSizeHi, item.RemainingSizeLo); var remainingSize = MakeInt64(item.RemainingSizeHi, item.RemainingSizeLo);
var droneParameter = item.Parameters.SingleOrDefault(p => p.Name == "drone"); var droneParameter = item.Parameters.SingleOrDefault(p => p.Name == "drone");

@ -20,7 +20,8 @@ define(
if (timeleft === undefined) { if (timeleft === undefined) {
this.$el.html("-"); this.$el.html("-");
} else { }
else {
this.$el.html(timeleft); this.$el.html(timeleft);
} }
this.$el.attr('title', '{0} / {1}'.format(remainingSize, totalSize)); this.$el.attr('title', '{0} / {1}'.format(remainingSize, totalSize));

Loading…
Cancel
Save