mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-15 12:11:53 +01:00
21 lines
No EOL
654 B
JavaScript
21 lines
No EOL
654 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'),
|
|
format : this.naming.get('standardMovieFormat')
|
|
};
|
|
},
|
|
|
|
initialize : function() {
|
|
this.naming = new NamingModel();
|
|
this.naming.fetch();
|
|
this.listenTo(this.naming, 'sync', this.render);
|
|
}
|
|
}); |