parent
db62c15c17
commit
0f3c355381
@ -1,3 +1,3 @@
|
||||
<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>
|
||||
|
@ -1,35 +1,35 @@
|
||||
<div class="row series-page-header">
|
||||
<div class="row artist-page-header">
|
||||
<div class="visible-lg col-lg-2 poster">
|
||||
{{poster}}
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-10">
|
||||
<div>
|
||||
<h1 class="header-text">
|
||||
<i class="x-monitored" title="Toggle monitored state for entire series"/>
|
||||
{{title}}
|
||||
<div class="series-actions pull-right">
|
||||
<i class="x-monitored" title="Toggle monitored state for entire artist"/>
|
||||
{{name}}
|
||||
<div class="artist-actions pull-right">
|
||||
<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 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 class="x-rename">
|
||||
<i class="icon-lidarr-rename" title="Preview rename for all episodes"/>
|
||||
</div>
|
||||
<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 class="x-edit">
|
||||
<i class="icon-lidarr-edit" title="Edit series"/>
|
||||
<i class="icon-lidarr-edit" title="Edit artist"/>
|
||||
</div>
|
||||
</div>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="series-detail-overview">
|
||||
<div class="artist-detail-overview">
|
||||
{{overview}}
|
||||
</div>
|
||||
<div id="info" class="series-info"></div>
|
||||
<div id="info" class="artist-info"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="seasons"></div>
|
||||
|
@ -1,18 +1,18 @@
|
||||
var Marionette = require('marionette');
|
||||
|
||||
module.exports = Marionette.ItemView.extend({
|
||||
template : 'Series/Details/InfoViewTemplate',
|
||||
template : 'Artist/Details/InfoViewTemplate',
|
||||
|
||||
initialize : function(options) {
|
||||
this.episodeFileCollection = options.episodeFileCollection;
|
||||
this.trackFileCollection = options.trackFileCollection;
|
||||
|
||||
this.listenTo(this.model, 'change', this.render);
|
||||
this.listenTo(this.episodeFileCollection, 'sync', this.render);
|
||||
this.listenTo(this.trackFileCollection, 'sync', this.render);
|
||||
},
|
||||
|
||||
templateHelpers : function() {
|
||||
return {
|
||||
fileCount : this.episodeFileCollection.length
|
||||
fileCount : this.trackFileCollection.length
|
||||
};
|
||||
}
|
||||
});
|
Loading…
Reference in new issue