mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 17:17:02 +00:00
added quality to release views.
This commit is contained in:
parent
aca5d1f361
commit
931d2ad682
3 changed files with 36 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
{{quality.quality.name}}
|
||||
{{quality.name}}
|
||||
|
||||
{{#if quality.proper}}
|
||||
{{#if proper}}
|
||||
[PROPER]
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -7,7 +7,8 @@ define([
|
|||
'Shared/Toolbar/ToolbarLayout',
|
||||
'Cells/EpisodeNumberCell',
|
||||
'Cells/FileSizeCell',
|
||||
'Cells/IndexerCell'
|
||||
'Cells/IndexerCell',
|
||||
'Cells/QualityCell'
|
||||
],
|
||||
function () {
|
||||
NzbDrone.Release.Layout = Backbone.Marionette.Layout.extend({
|
||||
|
@ -25,12 +26,7 @@ define([
|
|||
sortable: true,
|
||||
cell : NzbDrone.Cells.IndexerCell
|
||||
},
|
||||
{
|
||||
name : 'size',
|
||||
label : 'Size',
|
||||
sortable: true,
|
||||
cell : NzbDrone.Cells.FileSizeCell
|
||||
},
|
||||
|
||||
{
|
||||
name : 'title',
|
||||
label : 'Title',
|
||||
|
@ -43,6 +39,19 @@ define([
|
|||
label : 'season',
|
||||
cell : NzbDrone.Cells.EpisodeNumberCell
|
||||
},
|
||||
{
|
||||
name : 'size',
|
||||
label : 'Size',
|
||||
sortable: true,
|
||||
cell : NzbDrone.Cells.FileSizeCell
|
||||
},
|
||||
{
|
||||
name : 'quality',
|
||||
label : 'Quality',
|
||||
sortable: true,
|
||||
cell : NzbDrone.Cells.QualityCell
|
||||
},
|
||||
|
||||
{
|
||||
name : 'rejections',
|
||||
label: 'decision',
|
||||
|
|
Loading…
Reference in a new issue