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
|
@ -1,2 +0,0 @@
|
|||
|
||||
{{seasonNumber}}x{{paddedEpisodeNumber}}
|
|
@ -2,9 +2,14 @@
|
|||
define([
|
||||
'app',
|
||||
'Missing/Collection',
|
||||
'Series/Index/Table/AirDateCell',
|
||||
'Missing/Row',
|
||||
'Cells/AirDateCell',
|
||||
'Series/Index/Table/SeriesStatusCell',
|
||||
'Shared/Toolbar/ToolbarLayout',
|
||||
'Cells/SeriesTitleCell',
|
||||
'Cells/EpisodeNumberCell',
|
||||
'Cells/EpisodeTitleCell',
|
||||
'Cells/AirDateCell',
|
||||
'Shared/LoadingView'
|
||||
],
|
||||
function () {
|
||||
|
@ -19,33 +24,27 @@ define([
|
|||
|
||||
columns: [
|
||||
{
|
||||
name : 'series.Title',
|
||||
label : 'Series Title',
|
||||
sortable : false,
|
||||
cell : Backgrid.TemplateBackedCell.extend({ template: 'Missing/SeriesTitleTemplate' })
|
||||
name : 'series',
|
||||
label : 'Series Title',
|
||||
sortable: false,
|
||||
cell : NzbDrone.Cells.SeriesTitleCell
|
||||
},
|
||||
{
|
||||
name : 'episode',
|
||||
label : 'Episode',
|
||||
sortable : false,
|
||||
cell : Backgrid.TemplateBackedCell.extend({ template: 'Missing/EpisodeColumnTemplate' })
|
||||
name : 'this',
|
||||
label : 'Episode',
|
||||
sortable: false,
|
||||
cell : NzbDrone.Cells.EpisodeNumberCell
|
||||
},
|
||||
{
|
||||
name : 'title',
|
||||
label : 'Episode Title',
|
||||
sortable : false,
|
||||
cell : 'string'
|
||||
name : 'this',
|
||||
label : 'Episode Title',
|
||||
sortable: false,
|
||||
cell : NzbDrone.Cells.EpisodeTitleCell
|
||||
},
|
||||
{
|
||||
name : 'airDate',
|
||||
label : 'Air Date',
|
||||
cell : 'airDate'
|
||||
},
|
||||
{
|
||||
name : 'edit',
|
||||
label : '',
|
||||
sortable : false,
|
||||
cell : Backgrid.TemplateBackedCell.extend({ template: 'Missing/ControlsColumnTemplate' })
|
||||
name : 'airDate',
|
||||
label: 'Air Date',
|
||||
cell : NzbDrone.Cells.AirDateCell
|
||||
}
|
||||
],
|
||||
|
||||
|
@ -59,7 +58,7 @@ define([
|
|||
}));
|
||||
|
||||
this.pager.show(new Backgrid.NzbDronePaginator({
|
||||
columns: this.columns,
|
||||
columns : this.columns,
|
||||
collection: this.missingCollection
|
||||
}));
|
||||
},
|
||||
|
@ -71,9 +70,9 @@ define([
|
|||
|
||||
this.missingCollection = new NzbDrone.Missing.Collection();
|
||||
this.missingCollection.fetch()
|
||||
.done(function () {
|
||||
self._showTable();
|
||||
});
|
||||
.done(function () {
|
||||
self._showTable();
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
{{! TODO: Should use route instead of hard coding link }}
|
||||
<a href="/series/details/{{series.titleSlug}}">{{series.title}}</a>
|
Loading…
Add table
Add a link
Reference in a new issue