mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 13:25:13 +02:00
UI Cleanup - Updated Settings subtree.
This commit is contained in:
@@ -6,19 +6,23 @@ var DelayProfileCollection = require('./Delay/DelayProfileCollection');
|
||||
var LanguageCollection = require('./Language/LanguageCollection');
|
||||
|
||||
module.exports = Marionette.Layout.extend({
|
||||
template : 'Settings/Profile/ProfileLayoutTemplate',
|
||||
regions : {
|
||||
template : 'Settings/Profile/ProfileLayoutTemplate',
|
||||
|
||||
regions : {
|
||||
profile : '#profile',
|
||||
delayProfile : '#delay-profile'
|
||||
},
|
||||
initialize : function(options){
|
||||
|
||||
initialize : function(options) {
|
||||
this.settings = options.settings;
|
||||
ProfileCollection.fetch();
|
||||
|
||||
this.delayProfileCollection = new DelayProfileCollection();
|
||||
this.delayProfileCollection.fetch();
|
||||
},
|
||||
onShow : function(){
|
||||
this.profile.show(new ProfileCollectionView({collection : ProfileCollection}));
|
||||
this.delayProfile.show(new DelayProfileLayout({collection : this.delayProfileCollection}));
|
||||
|
||||
onShow : function() {
|
||||
this.profile.show(new ProfileCollectionView({ collection : ProfileCollection }));
|
||||
this.delayProfile.show(new DelayProfileLayout({ collection : this.delayProfileCollection }));
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user