Episode status cell shows TBA for episodes that do not have an air date

pull/24/head
Mark McDowall 12 years ago
parent e92b273d75
commit 07ba92ba87

@ -25,7 +25,12 @@ define(
tooltip = 'Episode downloaded'; tooltip = 'Episode downloaded';
} }
else { else {
if (hasAired) { if (!this.model.get('airDate')) {
icon = 'icon-question-sign';
tooltip = 'TBA';
}
else if (hasAired) {
icon = 'icon-warning-sign'; icon = 'icon-warning-sign';
tooltip = 'Episode missing from disk'; tooltip = 'Episode missing from disk';
} }

Loading…
Cancel
Save