New: Trakt links on series details

This commit is contained in:
Mark McDowall 2016-03-10 20:48:24 -08:00
parent ef3d508b31
commit f2784d3ec2
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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>