1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 02:09:59 +00:00

Added trakt/imdb links to series details

This commit is contained in:
Mark McDowall 2013-06-07 08:42:28 -07:00
parent 50444fc34a
commit 8274cb30cf
3 changed files with 12 additions and 3 deletions

View file

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

View file

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

View file

@ -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';
},