mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
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() {
|
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() {
|
Handlebars.registerHelper('imdbUrl', function() {
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<span class="series-info-links">
|
<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>
|
<a href="{{tvdbUrl}}" class="label label-info">The TVDB</a>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user