Processed comments.

This commit is contained in:
Taloth Saldono 2014-05-26 08:31:00 +02:00
parent ab154d924e
commit c6e33bc463
2 changed files with 5 additions and 4 deletions

View File

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

View File

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