From e634022dd74e7d8e94a46a9a4ab3af370fb35663 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 19 Jul 2013 08:41:08 -0700 Subject: [PATCH] Episode status shows quality for downloaded episodes --- UI/Cells/EpisodeStatusCell.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/UI/Cells/EpisodeStatusCell.js b/UI/Cells/EpisodeStatusCell.js index b467c3d07..812802bfb 100644 --- a/UI/Cells/EpisodeStatusCell.js +++ b/UI/Cells/EpisodeStatusCell.js @@ -21,8 +21,17 @@ define( var hasFile = this.model.get('hasFile'); if (hasFile) { - icon = 'icon-ok'; - tooltip = 'Episode downloaded'; + var quality = this.model.get('episodeFile').quality; + + if (quality.proper) { + this.$el.html('{0}'.format(quality.quality.name)); + } + + else { + this.$el.html('{0}'.format(quality.quality.name)); + } + + return this; } else { if (!this.model.get('airDate')) {