Merge pull request #12 from fedoranimus/develop

Fix template references and 'movie' strings
pull/23/head
Leonardo Galli 8 years ago committed by GitHub
commit ff6c3b70d3

@ -1,5 +1,5 @@
<div class="x-existing-folders">
<div class="loading-folders x-loading-folders">
Loading search results from TheTVDB for your series, this may take a few minutes.
Loading search results from TheTVDB for your movies, this may take a few minutes.
</div>
</div>

@ -2,6 +2,6 @@
<h3>
Sorry. We couldn't find any movies matching '{{term}}'
</h3>
<a href="https://github.com/NzbDrone/NzbDrone/wiki/FAQ#wiki-why-cant-i-add-a-new-show-to-nzbdrone-its-on-thetvdb">Why can't I find my show?</a>
<a href="https://github.com/NzbDrone/NzbDrone/wiki/FAQ#wiki-why-cant-i-add-a-new-show-to-nzbdrone-its-on-thetvdb">[UPDATE LINK] Why can't I find my movie?</a>
</div>

@ -2,7 +2,7 @@ var Marionette = require('marionette');
var RootFolderItemView = require('./RootFolderItemView');
module.exports = Marionette.CompositeView.extend({
template : 'AddSeries/RootFolders/RootFolderCollectionViewTemplate',
template : 'AddMovies/RootFolders/RootFolderCollectionViewTemplate',
itemViewContainer : '.x-root-folders',
itemView : RootFolderItemView
});

@ -1,7 +1,7 @@
var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({
template : 'AddSeries/RootFolders/RootFolderItemViewTemplate',
template : 'AddMovies/RootFolders/RootFolderItemViewTemplate',
className : 'recent-folder',
tagName : 'tr',

@ -7,7 +7,7 @@ var AsValidatedView = require('../../Mixins/AsValidatedView');
require('../../Mixins/FileBrowser');
var Layout = Marionette.Layout.extend({
template : 'AddSeries/RootFolders/RootFolderLayoutTemplate',
template : 'AddMovies/RootFolders/RootFolderLayoutTemplate',
ui : {
pathInput : '.x-path'

@ -5,7 +5,7 @@
</div>
<div class="modal-body root-folders-modal">
<div class="validation-errors"></div>
<div class="alert alert-info">Enter the path that contains some or all of your TV series, you will be able to choose which series you want to import<button type="button" class="close" data-dismiss="alert">×</button></div>
<div class="alert alert-info">Enter the path that contains some or all of your movies, you will be able to choose which movies you want to import<button type="button" class="close" data-dismiss="alert">×</button></div>
<div class="row">
<div class="form-group">
@ -14,7 +14,7 @@
<div class="input-group">
<span class="input-group-addon">&nbsp;<i class="icon-sonarr-folder-open"></i></span>
<input class="form-control x-path" type="text" validation-name="path" placeholder="Enter path to folder that contains your shows">
<input class="form-control x-path" type="text" validation-name="path" placeholder="Enter path to folder that contains your movies">
<span class="input-group-btn"><button class="btn btn-success x-add"><i class="icon-sonarr-ok"/></button></span>
</div>
</div>

@ -5,7 +5,7 @@ var SeriesCollection = require('../SeriesCollection');
module.exports = NzbDroneCell.extend({
className : 'episode-number-cell',
template : 'Series/Details/EpisodeNumberCellTemplate',
template : 'Movies/Details/EpisodeNumberCellTemplate',
render : function() {
this.$el.empty();

@ -1,7 +1,7 @@
var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({
template : 'Series/Details/InfoViewTemplate',
template : 'Movies/Details/InfoViewTemplate',
initialize : function(options) {
this.episodeFileCollection = options.episodeFileCollection;

@ -15,7 +15,7 @@ var _ = require('underscore');
var Messenger = require('../../Shared/Messenger');
module.exports = Marionette.Layout.extend({
template : 'Series/Details/SeasonLayoutTemplate',
template : 'Movies/Details/SeasonLayoutTemplate',
ui : {
seasonSearch : '.x-season-search',

@ -1,13 +1,13 @@
<div class="no-series">
<div class="no-movies">
<div class="row">
<div class="well col-md-12">
<i class="icon-sonarr-comment"/>
You must be new around here, You should add some series.
You must be new around here, You should add some movies.
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<a href="/addmovies" class='btn btn-lg btn-block btn-success x-add-series'>
<a href="/addmovies" class='btn btn-lg btn-block btn-success x-add-movies'>
<i class='icon-sonarr-add'></i>
Add Movie
</a>

@ -1,5 +1,5 @@
var Marionette = require('marionette');
module.exports = Marionette.CompositeView.extend({
template : 'Series/Index/EmptyTemplate'
template : 'Movies/Index/EmptyTemplate'
});

@ -1,5 +1,5 @@
var Marionette = require('marionette');
module.exports = Marionette.CompositeView.extend({
template : 'Series/Index/FooterViewTemplate'
template : 'Movies/Index/FooterViewTemplate'
});

@ -4,5 +4,5 @@ var ListItemView = require('./SeriesOverviewItemView');
module.exports = Marionette.CompositeView.extend({
itemView : ListItemView,
itemViewContainer : '#x-series-list',
template : 'Series/Index/Overview/SeriesOverviewCollectionViewTemplate'
template : 'Movies/Index/Overview/SeriesOverviewCollectionViewTemplate'
});
Loading…
Cancel
Save