mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-01-01 02:26:01 +01:00
Fixed: NzbGet history items deleted due to health are now properly recognized as failed.
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user