Series Table

This commit is contained in:
Mark McDowall 2013-04-23 17:30:25 -07:00
commit 475c86dcab
8 changed files with 51 additions and 46 deletions

View file

@ -2,7 +2,10 @@
define([
'app',
'Series/Index/List/CollectionView',
'Config'
'Series/Index/EmptyView',
'Config',
'Series/Index/Table/AirDateCell',
'Series/Index/Table/SeriesStatusCell'
],
function (app) {
NzbDrone.Series.Index.SeriesIndexLayout = Backbone.Marionette.Layout.extend({
@ -97,6 +100,10 @@ define([
this.series.show(new NzbDrone.Series.Index.List.CollectionView({ collection: this.seriesCollection }));
},
showEmpty: function () {
this.series.show(new NzbDrone.Series.Index.EmptyView());
},
initialize: function () {
this.viewStyle = NzbDrone.Config.SeriesViewStyle();
this.seriesCollection = new NzbDrone.Series.SeriesCollection();