diff --git a/src/UI/Calendar/CalendarView.js b/src/UI/Calendar/CalendarView.js index d0ed7902b..4e3aec332 100644 --- a/src/UI/Calendar/CalendarView.js +++ b/src/UI/Calendar/CalendarView.js @@ -76,6 +76,10 @@ define( size : 14, animate : false }); + + this.$(element).find('.chart').tooltip({ + title: 'Episode is downloading - {0}% {1}'.format(event.progress.toFixed(1), event.releaseTitle) + }); } }, @@ -109,6 +113,7 @@ define( allDay : false, statusLevel : self._getStatusLevel(model, end), progress : self._getDownloadProgress(model), + releaseTitle: self._getReleaseTitle(model), model : model }; @@ -163,6 +168,16 @@ define( } return 100 - (downloading.get('sizeleft') / downloading.get('size') * 100); + }, + + _getReleaseTitle: function (element) { + var downloading = QueueCollection.findEpisode(element.get('id')); + + if (!downloading) { + return ''; + } + + return downloading.get('title'); } }); }); diff --git a/src/UI/Cells/EpisodeStatusCell.js b/src/UI/Cells/EpisodeStatusCell.js index c48fffcf1..1b4d6a68c 100644 --- a/src/UI/Cells/EpisodeStatusCell.js +++ b/src/UI/Cells/EpisodeStatusCell.js @@ -69,7 +69,7 @@ define( if (downloading) { var progress = 100 - (downloading.get('sizeleft') / downloading.get('size') * 100); - this.$el.html('