mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
More info on calendar
New: Show more information of grabbed and failed downloads on calendar
This commit is contained in:
parent
75236118dd
commit
c3fee509f6
3 changed files with 35 additions and 12 deletions
|
@ -37,14 +37,19 @@ define(
|
|||
title = 'Pending';
|
||||
}
|
||||
|
||||
if (status === 'failed') {
|
||||
icon = 'icon-nd-download-failed';
|
||||
title = 'Download failed: check download client for more details';
|
||||
}
|
||||
|
||||
if (errorMessage !== '') {
|
||||
if (status === 'completed') {
|
||||
icon = 'icon-nd-import-failed';
|
||||
title = "Import failed";
|
||||
title = 'Import failed';
|
||||
}
|
||||
else {
|
||||
icon = 'icon-nd-download-failed';
|
||||
title = "Download failed";
|
||||
title = 'Download failed';
|
||||
}
|
||||
this.$el.html('<i class="{0}"></i>'.format(icon));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue