mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 01:02:05 +00:00
Episode status cell shows TBA for episodes that do not have an air date
This commit is contained in:
parent
e92b273d75
commit
07ba92ba87
1 changed files with 7 additions and 2 deletions
|
@ -25,7 +25,12 @@ define(
|
|||
tooltip = 'Episode downloaded';
|
||||
}
|
||||
else {
|
||||
if (hasAired) {
|
||||
if (!this.model.get('airDate')) {
|
||||
icon = 'icon-question-sign';
|
||||
tooltip = 'TBA';
|
||||
}
|
||||
|
||||
else if (hasAired) {
|
||||
icon = 'icon-warning-sign';
|
||||
tooltip = 'Episode missing from disk';
|
||||
}
|
||||
|
@ -34,7 +39,7 @@ define(
|
|||
tooltip = 'Episode has not aired';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
this.$el.html('<i class="{0}" title="{1}"/>'.format(icon, tooltip));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue