mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
cleaned up all the cells. there is a cell for pretty much everything.
This commit is contained in:
parent
ac3582d5c4
commit
70cfa5e685
42 changed files with 432 additions and 261 deletions
|
@ -11,19 +11,6 @@ Backgrid.Column.prototype.defaults = {
|
|||
headerCell: 'nzbDrone'
|
||||
};
|
||||
|
||||
Backgrid.TemplateBackedCell = Backgrid.Cell.extend({
|
||||
className: '',
|
||||
template : 'Series/Index/Table/ControlsColumnTemplate',
|
||||
|
||||
render: function () {
|
||||
var data = this.model.toJSON();
|
||||
var templateFunction = Marionette.TemplateCache.get(this.template);
|
||||
var html = templateFunction(data);
|
||||
this.$el.html(html);
|
||||
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
||||
Backgrid.NzbDroneHeaderCell = Backgrid.HeaderCell.extend({
|
||||
events: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue