much nicer add new series.

This commit is contained in:
kay.one 2013-03-31 14:45:16 -07:00
parent a052a9389e
commit 4be637edff
16 changed files with 87 additions and 87 deletions

View file

@ -13,6 +13,16 @@ define(['app', 'AddSeries/RootFolders/RootFolderCollection', 'Quality/QualityPro
} else {
return date;
}
},
banner : function () {
var banner = _.find(this.get('images'), function (image) {
return image.coverType === 1;
});
return banner.url;
},
traktUrl : function () {
return "http://trakt.tv/show/" + this.get('titleSlug');
}
},