mirror of https://github.com/Radarr/Radarr
New: Trakt links on series details
This commit is contained in:
parent
ef3d508b31
commit
f2784d3ec2
|
@ -20,7 +20,7 @@ Handlebars.registerHelper('poster', function() {
|
|||
});
|
||||
|
||||
Handlebars.registerHelper('traktUrl', function() {
|
||||
return 'http://trakt.tv/show/' + this.titleSlug;
|
||||
return 'http://trakt.tv/search/tvdb/' + this.tvdbId + '?id_type=show';
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('imdbUrl', function() {
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
</div>
|
||||
<div class="col-md-3">
|
||||
<span class="series-info-links">
|
||||
<!--<a href="{{traktUrl}}" class="label label-info">Trakt</a>-->
|
||||
<a href="{{traktUrl}}" class="label label-info">Trakt</a>
|
||||
|
||||
<a href="{{tvdbUrl}}" class="label label-info">The TVDB</a>
|
||||
|
||||
|
|
Loading…
Reference in New Issue