mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Merge branch 'series-grid' into vnext
Conflicts: UI/Config.js
This commit is contained in:
parent
d81e0885c3
commit
35e2e83595
12 changed files with 157 additions and 19 deletions
|
@ -10,8 +10,18 @@ define([
|
|||
], function () {
|
||||
|
||||
NzbDrone.Series.Index.SeriesItemView = Backbone.Marionette.ItemView.extend({
|
||||
template: 'Series/Index/SeriesItemTemplate',
|
||||
tagName : 'tr',
|
||||
template: 'Series/Index/SeriesItemTemplate',
|
||||
|
||||
getTemplate: function(){
|
||||
if (this.viewStyle === 1){
|
||||
this.tagName = 'div';
|
||||
return 'Series/Index/SeriesGridItemTemplate';
|
||||
}
|
||||
else {
|
||||
return 'Series/Index/SeriesItemTemplate';
|
||||
}
|
||||
},
|
||||
|
||||
ui: {
|
||||
'progressbar': '.progress .bar'
|
||||
|
@ -24,6 +34,7 @@ define([
|
|||
|
||||
initialize: function (options) {
|
||||
this.qualityProfileCollection = options.qualityProfiles;
|
||||
this.viewStyle = options.viewStyle;
|
||||
},
|
||||
|
||||
onRender: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue