From f2784d3ec2c3a41874b2aa4f7ed4eeaae904c10f Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 10 Mar 2016 20:48:24 -0800 Subject: [PATCH] New: Trakt links on series details --- src/UI/Handlebars/Helpers/Series.js | 2 +- src/UI/Series/Details/InfoViewTemplate.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UI/Handlebars/Helpers/Series.js b/src/UI/Handlebars/Helpers/Series.js index 1fd5a14dc..2c8a96bed 100644 --- a/src/UI/Handlebars/Helpers/Series.js +++ b/src/UI/Handlebars/Helpers/Series.js @@ -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() { diff --git a/src/UI/Series/Details/InfoViewTemplate.hbs b/src/UI/Series/Details/InfoViewTemplate.hbs index 21add05e4..b0bfff588 100644 --- a/src/UI/Series/Details/InfoViewTemplate.hbs +++ b/src/UI/Series/Details/InfoViewTemplate.hbs @@ -29,7 +29,7 @@
- + Trakt The TVDB