Fixed: NzbGet history items deleted due to health are now properly recognized as failed.

This commit is contained in:
Taloth Saldono
2014-09-18 23:00:52 +02:00
parent 6a30b13343
commit 8bef19448f
10 changed files with 79 additions and 14 deletions

View File

@@ -80,6 +80,10 @@ define(
this._addStatusIcon(element, 'icon-nd-download-failed', 'Download failed: check download client for more details');
}
else if (status === 'warning') {
this._addStatusIcon(element, 'icon-nd-download-warning', 'Download warning: check download client for more details');
}
else {
this.$(element).find('.fc-event-time')
.after('<span class="chart pull-right" data-percent="{0}"></span>'.format(progress));

View File

@@ -173,6 +173,11 @@
color: @brand-danger;
}
.icon-nd-download-warning:before {
.icon(@cloud-download);
color: @brand-warning;
}
.icon-nd-shutdown:before {
.icon(@off);
color: @brand-danger;

View File

@@ -42,6 +42,11 @@ define(
title = 'Download failed: check download client for more details';
}
if (status === 'warning') {
icon = 'icon-nd-download-warning';
title = 'Download warning: check download client for more details';
}
if (errorMessage !== '') {
if (status === 'completed') {
icon = 'icon-nd-import-failed';