parent
db62c15c17
commit
0f3c355381
@ -1,3 +1,3 @@
|
|||||||
<div class="text-center hint col-md-12">
|
<div class="text-center hint col-md-12">
|
||||||
<span>You can also search by Spotify using the spotify: prefixes.</span>
|
<span>You can also search by MusicBrianzID using the MBID: prefixes.</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,35 +1,35 @@
|
|||||||
<div class="row series-page-header">
|
<div class="row artist-page-header">
|
||||||
<div class="visible-lg col-lg-2 poster">
|
<div class="visible-lg col-lg-2 poster">
|
||||||
{{poster}}
|
{{poster}}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12 col-lg-10">
|
<div class="col-md-12 col-lg-10">
|
||||||
<div>
|
<div>
|
||||||
<h1 class="header-text">
|
<h1 class="header-text">
|
||||||
<i class="x-monitored" title="Toggle monitored state for entire series"/>
|
<i class="x-monitored" title="Toggle monitored state for entire artist"/>
|
||||||
{{title}}
|
{{name}}
|
||||||
<div class="series-actions pull-right">
|
<div class="artist-actions pull-right">
|
||||||
<div class="x-episode-file-editor">
|
<div class="x-episode-file-editor">
|
||||||
<i class="icon-lidarr-episode-file" title="Modify episode files for series"/>
|
<i class="icon-lidarr-episode-file" title="Modify episode files for artist"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="x-refresh">
|
<div class="x-refresh">
|
||||||
<i class="icon-lidarr-refresh icon-can-spin" title="Update series info and scan disk"/>
|
<i class="icon-lidarr-refresh icon-can-spin" title="Update artist info and scan disk"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="x-rename">
|
<div class="x-rename">
|
||||||
<i class="icon-lidarr-rename" title="Preview rename for all episodes"/>
|
<i class="icon-lidarr-rename" title="Preview rename for all episodes"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="x-search">
|
<div class="x-search">
|
||||||
<i class="icon-lidarr-search" title="Search for monitored episodes in this series"/>
|
<i class="icon-lidarr-search" title="Search for monitored episodes in this artist"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="x-edit">
|
<div class="x-edit">
|
||||||
<i class="icon-lidarr-edit" title="Edit series"/>
|
<i class="icon-lidarr-edit" title="Edit artist"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="series-detail-overview">
|
<div class="artist-detail-overview">
|
||||||
{{overview}}
|
{{overview}}
|
||||||
</div>
|
</div>
|
||||||
<div id="info" class="series-info"></div>
|
<div id="info" class="artist-info"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="seasons"></div>
|
<div id="seasons"></div>
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
var Marionette = require('marionette');
|
var Marionette = require('marionette');
|
||||||
|
|
||||||
module.exports = Marionette.ItemView.extend({
|
module.exports = Marionette.ItemView.extend({
|
||||||
template : 'Series/Details/InfoViewTemplate',
|
template : 'Artist/Details/InfoViewTemplate',
|
||||||
|
|
||||||
initialize : function(options) {
|
initialize : function(options) {
|
||||||
this.episodeFileCollection = options.episodeFileCollection;
|
this.trackFileCollection = options.trackFileCollection;
|
||||||
|
|
||||||
this.listenTo(this.model, 'change', this.render);
|
this.listenTo(this.model, 'change', this.render);
|
||||||
this.listenTo(this.episodeFileCollection, 'sync', this.render);
|
this.listenTo(this.trackFileCollection, 'sync', this.render);
|
||||||
},
|
},
|
||||||
|
|
||||||
templateHelpers : function() {
|
templateHelpers : function() {
|
||||||
return {
|
return {
|
||||||
fileCount : this.episodeFileCollection.length
|
fileCount : this.trackFileCollection.length
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
Reference in new issue