removed episode status from server.

This commit is contained in:
kay.one 2013-05-20 14:05:48 -07:00
commit 21e9bad6d5
8 changed files with 14 additions and 132 deletions

View file

@ -1,14 +1,26 @@
"use strict";
define(['app', 'Episode/Layout'], function () {
NzbDrone.Series.Details.EpisodeDetailCell = Backgrid.Cell.extend({
NzbDrone.Series.Details.EpisodeStatusCell = Backgrid.Cell.extend({
events: {
'click': 'showDetails'
},
render: function () {
this.$el.empty();
this.$el.html('<i class="icon-ellipsis-vertical x-detail-icon"/>');
if (this.model) {
var icon;
if (this.model.get('episodeFile')) {
icon = 'icon-ok';
}
this.$el.html('<i class="{0}"/>'.format(icon));
}
return this;
},