Added trakt/imdb links to series details

pull/2/head
Mark McDowall 12 years ago
parent 50444fc34a
commit 8274cb30cf

@ -10,6 +10,12 @@
<span class="label label-info">{{network}}</span>
<span class="label label-info">{{runtime}} minutes</span>
<span class="label label-info">{{path}}</span>
<span class="pull-right">
<a href="{{traktUrl}}" class="label label-info">Trakt</a>
{{#if imdbId}}
<a href="{{imdbUrl}}" class="label label-info">IMDB</a>
{{/if}}
</span>
</div>
</div>
</div>

@ -77,9 +77,9 @@
<div class="controls">
<select id="inputBacklogSetting" class="inputClass x-backlog-setting" name="backlogSetting">
<option value="0">Inherit</option>
<option value="1">Enable</option>
<option value="2">Disable</option>
<option value="inherit">Inherit</option>
<option value="enable">Enable</option>
<option value="disable">Disable</option>
</select>
<span class="help-inline">
<i class="icon-question-sign" title="Should NzbDrone search for missing episodes every 30 days?"></i>

@ -29,6 +29,9 @@ define(['app', 'Quality/QualityProfileCollection', 'AddSeries/RootFolders/RootFo
traktUrl : function () {
return "http://trakt.tv/show/" + this.get('titleSlug');
},
imdbUrl : function () {
return "http://imdb.com/title/" + this.get('imdbId');
},
isContinuing : function () {
return this.get('status') === 'continuing';
},

Loading…
Cancel
Save