settings is fully moved to required.

This commit is contained in:
Keivan Beigi 2013-06-18 18:02:23 -07:00
commit 6f8c73771d
54 changed files with 533 additions and 439 deletions

View file

@ -10,8 +10,8 @@ define(['app', 'Cells/NzbDroneCell' ], function () {
if (this.cellValue) {
var icon = 'icon-question';
var toolTip = 'unknow event';
var icon;
var toolTip;
switch (this.cellValue) {
case 'grabbed':
@ -22,10 +22,14 @@ define(['app', 'Cells/NzbDroneCell' ], function () {
icon = 'icon-hdd';
toolTip = 'Existing episode file added to library';
break;
case 'DownloadFolderImported':
case 'downloadFolderImported':
icon = 'icon-download-alt';
toolTip = 'Episode downloaded succesfully and picked up from download client';
toolTip = 'Episode downloaded successfully and picked up from download client';
break;
default :
icon = 'icon-question';
toolTip = 'unknown event';
}
this.$el.html('<i class="{0}" title="{1}"/>'.format(icon, toolTip));