Indexes are created with the same uniqueness when copying a table

New: Non-English episode support
New: Renamed Quality Profiles to Profiles and made them more powerful
New: Configurable wait time before grabbing a release to wait for a better quality
This commit is contained in:
Mark McDowall
2014-06-08 01:22:55 -07:00
parent b72678a9ad
commit 74a38415cf
182 changed files with 2493 additions and 2433 deletions
+6 -6
View File
@@ -3,17 +3,17 @@ define(
[
'vent',
'marionette',
'Quality/QualityProfileCollection',
'Profile/ProfileCollection',
'Mixins/AsModelBoundView',
'Mixins/AsValidatedView',
'Mixins/AutoComplete'
], function (vent, Marionette, QualityProfiles, AsModelBoundView, AsValidatedView) {
], function (vent, Marionette, Profiles, AsModelBoundView, AsValidatedView) {
var view = Marionette.ItemView.extend({
template: 'Series/Edit/EditSeriesViewTemplate',
ui: {
qualityProfile: '.x-quality-profile',
profile: '.x-profile',
path : '.x-path'
},
@@ -24,14 +24,14 @@ define(
initialize: function () {
this.model.set('qualityProfiles', QualityProfiles);
this.model.set('profiles', Profiles);
},
_saveSeries: function () {
var self = this;
var qualityProfileId = this.ui.qualityProfile.val();
this.model.set({ qualityProfileId: qualityProfileId});
var profileId = this.ui.profile.val();
this.model.set({ profileId: profileId});
this.model.save().done(function () {
self.trigger('saved');
@@ -58,11 +58,11 @@
</div>
<div class="form-group">
<label class="col-sm-4 control-label">Quality Profile</label>
<label class="col-sm-4 control-label">Profile</label>
<div class="col-sm-4">
<select class="form-control x-quality-profile" name="qualityProfileId">
{{#each qualityProfiles.models}}
<select class="form-control x-profile" id="inputProfile" name="profileId">
{{#each profiles.models}}
<option value="{{id}}">{{attributes.name}}</option>
{{/each}}
</select>