mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
New: Manual Import episodes
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
<ul>
|
||||
{{#each this}}
|
||||
<li>{{this}}</li>
|
||||
<li>
|
||||
{{#if reason}}
|
||||
{{reason}}
|
||||
{{else}}
|
||||
{{this}}
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
var _ = require('underscore');
|
||||
var Backgrid = require('backgrid');
|
||||
var Marionette = require('marionette');
|
||||
var _ = require('underscore');
|
||||
var ProfileSchemaCollection = require('../../Settings/Profile/ProfileSchemaCollection');
|
||||
|
||||
module.exports = Backgrid.CellEditor.extend({
|
||||
@@ -59,7 +59,11 @@ module.exports = Backgrid.CellEditor.extend({
|
||||
};
|
||||
|
||||
model.set(column.get('name'), newQuality);
|
||||
model.save();
|
||||
|
||||
if (this.column.get('saveAfterEdit')) {
|
||||
model.save();
|
||||
}
|
||||
|
||||
model.trigger('backgrid:edited', model, column, new Backgrid.Command(e));
|
||||
},
|
||||
|
||||
|
||||
@@ -7,9 +7,13 @@ module.exports = NzbDroneCell.extend({
|
||||
var templateName = this.column.get('template') || this.template;
|
||||
|
||||
this.templateFunction = Marionette.TemplateCache.get(templateName);
|
||||
var data = this.cellValue.toJSON();
|
||||
var html = this.templateFunction(data);
|
||||
this.$el.html(html);
|
||||
this.$el.empty();
|
||||
|
||||
if (this.cellValue) {
|
||||
var data = this.cellValue.toJSON();
|
||||
var html = this.templateFunction(data);
|
||||
this.$el.html(html);
|
||||
}
|
||||
|
||||
this.delegateEvents();
|
||||
return this;
|
||||
|
||||
@@ -156,11 +156,12 @@ td.episode-status-cell, td.quality-cell, td.history-quality-cell, td.progress-ce
|
||||
}
|
||||
|
||||
.queue-actions-cell {
|
||||
min-width : 55px;
|
||||
width : 55px;
|
||||
min-width : 65px;
|
||||
width : 65px;
|
||||
text-align : right !important;
|
||||
|
||||
i {
|
||||
.clickable();
|
||||
margin-left : 1px;
|
||||
margin-right : 1px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user