added quality to release views.

This commit is contained in:
kay.one 2013-06-09 19:16:48 -07:00
parent aca5d1f361
commit 931d2ad682
3 changed files with 36 additions and 14 deletions

View file

@ -1,5 +1,11 @@
"use strict";
define(['app', 'Cells/FileSizeCell', 'Release/ApprovalStatusCell', 'Release/DownloadReportCell' ], function () {
define([
'app',
'Cells/FileSizeCell',
'Cells/QualityCell',
'Release/ApprovalStatusCell',
'Release/DownloadReportCell'
], function () {
NzbDrone.Episode.Search.Layout = Backbone.Marionette.Layout.extend({
template: 'Episode/Search/LayoutTemplate',
@ -15,6 +21,12 @@ define(['app', 'Cells/FileSizeCell', 'Release/ApprovalStatusCell', 'Release/Down
sortable: true,
cell : Backgrid.IntegerCell
},
{
name : 'title',
label : 'Title',
sortable: true,
cell : Backgrid.StringCell
},
{
name : 'size',
label : 'Size',
@ -22,11 +34,12 @@ define(['app', 'Cells/FileSizeCell', 'Release/ApprovalStatusCell', 'Release/Down
cell : NzbDrone.Cells.FileSizeCell
},
{
name : 'title',
label : 'Title',
name : 'quality',
label : 'Quality',
sortable: true,
cell : Backgrid.StringCell
cell : NzbDrone.Cells.QualityCell
},
{
name : 'rejections',
label: 'decision',