diff --git a/UI/Handlebars/Helpers/Series.js b/UI/Handlebars/Helpers/Series.js index a47253091..5a2a40013 100644 --- a/UI/Handlebars/Helpers/Series.js +++ b/UI/Handlebars/Helpers/Series.js @@ -23,6 +23,14 @@ define( return 'http://imdb.com/title/' + this.imdbId; }); + Handlebars.registerHelper('tvdbUrl', function () { + return 'http://www.thetvdb.com/?tab=series&id=' + this.tvdbId; + }); + + Handlebars.registerHelper('tvRageUrl', function () { + return 'http://www.tvrage.com/shows/id-' + this.tvRageId; + }); + Handlebars.registerHelper('route', function () { return '/series/' + this.titleSlug; }); diff --git a/UI/Series/Details/SeriesDetailsTemplate.html b/UI/Series/Details/SeriesDetailsTemplate.html index c665cfad1..f20b53388 100644 --- a/UI/Series/Details/SeriesDetailsTemplate.html +++ b/UI/Series/Details/SeriesDetailsTemplate.html @@ -22,9 +22,18 @@ {{path}} Trakt + {{#if imdbId}} IMDB {{/if}} + + {{#if tvdbId}} + TVDB + {{/if}} + + {{#if tvRageId}} + TVRage + {{/if}}