mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 16:52:04 +02:00

Please test everything you can about this and report back if everything still works correctly.
22 lines
718 B
JavaScript
22 lines
718 B
JavaScript
var vent = require('vent');
|
|
var Marionette = require('marionette');
|
|
var NamingModel = require('../Settings/MediaManagement/Naming/NamingModel');
|
|
|
|
module.exports = Marionette.ItemView.extend({
|
|
template : 'Rename/RenamePreviewFormatViewTemplate',
|
|
|
|
templateHelpers : function() {
|
|
//var type = this.model.get('seriesType');
|
|
return {
|
|
rename : this.naming.get('renameEpisodes'),
|
|
folderFormat: this.naming.get('movieFolderFormat'),
|
|
format : this.naming.get('standardMovieFormat')
|
|
};
|
|
},
|
|
|
|
initialize : function() {
|
|
this.naming = new NamingModel();
|
|
this.naming.fetch();
|
|
this.listenTo(this.naming, 'sync', this.render);
|
|
}
|
|
}); |