mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -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
|
@ -2,11 +2,12 @@
|
|||
define([
|
||||
'app',
|
||||
'Release/Collection',
|
||||
'Release/ApprovalStatusCell',
|
||||
'Shared/SpinnerView',
|
||||
'Shared/Toolbar/ToolbarLayout',
|
||||
'Shared/Cells/EpisodeNumberCell',
|
||||
'Shared/Cells/FileSizeCell',
|
||||
'Shared/Cells/ApprovalStatusCell'
|
||||
'Cells/EpisodeNumberCell',
|
||||
'Cells/FileSizeCell',
|
||||
'Cells/IndexerCell'
|
||||
],
|
||||
function () {
|
||||
NzbDrone.Release.Layout = Backbone.Marionette.Layout.extend({
|
||||
|
@ -22,13 +23,13 @@ define([
|
|||
name : 'indexer',
|
||||
label : 'Indexer',
|
||||
sortable: true,
|
||||
cell : Backgrid.StringCell
|
||||
cell : NzbDrone.Cells.IndexerCell
|
||||
},
|
||||
{
|
||||
name : 'size',
|
||||
label : 'Size',
|
||||
sortable: true,
|
||||
cell : NzbDrone.Shared.Cells.FileSizeCell
|
||||
cell : NzbDrone.Cells.FileSizeCell
|
||||
},
|
||||
{
|
||||
name : 'title',
|
||||
|
@ -38,16 +39,14 @@ define([
|
|||
},
|
||||
{
|
||||
name : 'episodeNumbers',
|
||||
season : 'seasonNumber',
|
||||
airDate : 'airDate',
|
||||
episodes: 'episodeNumbers',
|
||||
label : 'season',
|
||||
cell : NzbDrone.Shared.Cells.EpisodeNumberCell
|
||||
cell : NzbDrone.Cells.EpisodeNumberCell
|
||||
},
|
||||
{
|
||||
name : 'rejections',
|
||||
label: 'decision',
|
||||
cell : NzbDrone.Shared.Cells.ApprovalStatusCell
|
||||
cell : NzbDrone.Release.ApprovalStatusCell
|
||||
}
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue