"use strict";
define(['app','backgrid'], function () {
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 === 'continuing') {
this.$el.html('');
}
else {
this.$el.html('');
}
return this;
}
});
return Backgrid.SeriesStatusCell;
});