diff --git a/UI/Mixins/backbone.Backgrid.mixin.js b/UI/Mixins/backbone.Backgrid.mixin.js index 31ef8ae89..edc41d2fe 100644 --- a/UI/Mixins/backbone.Backgrid.mixin.js +++ b/UI/Mixins/backbone.Backgrid.mixin.js @@ -1,39 +1,3 @@ -Backgrid.SeriesStatusCell = Backgrid.Cell.extend({ - className: "series-status-cell", - - render: function () { - this.$el.empty(); - var monitored = this.model.get('monitored'); - var status = this.model.get('status'); - - if (!monitored) { - this.$el.html(''); - } - else if (status === 0) { - this.$el.html(''); - } - - else { - this.$el.html(''); - } - - return this; - } -}); - -Backgrid.AirDateCell = Backgrid.Cell.extend({ - className: "air-date-cell", - - render: function () { - this.$el.empty(); - var airDate = this.model.get(this.column.get("name")); - - this.$el.html(bestDateString(airDate)); - - return this; - } -}); - Backgrid.TemplateBackedCell = Backgrid.Cell.extend({ className: '', template: 'Series/Index/Table/ControlsColumnTemplate', diff --git a/UI/Series/Index/EmptySeriesIndexView.js b/UI/Series/Index/EmptySeriesIndexView.js deleted file mode 100644 index 97ec6cd82..000000000 --- a/UI/Series/Index/EmptySeriesIndexView.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -define(['app'], function (app) { - - NzbDrone.Series.Index.EmptySeriesCollectionView = Backbone.Marionette.CompositeView.extend({ - template: 'Series/Index/EmptySeriesIndexTemplate' - }); -}); \ No newline at end of file diff --git a/UI/Series/Index/EmptySeriesIndexTemplate.html b/UI/Series/Index/EmptyTemplate.html similarity index 100% rename from UI/Series/Index/EmptySeriesIndexTemplate.html rename to UI/Series/Index/EmptyTemplate.html diff --git a/UI/Series/Index/EmptyView.js b/UI/Series/Index/EmptyView.js new file mode 100644 index 000000000..64376a54b --- /dev/null +++ b/UI/Series/Index/EmptyView.js @@ -0,0 +1,8 @@ +'use strict'; + +define(['app'], function (app) { + + NzbDrone.Series.Index.EmptyView = Backbone.Marionette.CompositeView.extend({ + template: 'Series/Index/EmptyTemplate' + }); +}); \ No newline at end of file diff --git a/UI/Series/Index/List/ItemTemplate.html b/UI/Series/Index/List/ItemTemplate.html index 8285ee20e..605f0153f 100644 --- a/UI/Series/Index/List/ItemTemplate.html +++ b/UI/Series/Index/List/ItemTemplate.html @@ -1,7 +1,7 @@