Added trakt/imdb links to series details
This commit is contained in:
parent
50444fc34a
commit
8274cb30cf
|
@ -10,6 +10,12 @@
|
||||||
<span class="label label-info">{{network}}</span>
|
<span class="label label-info">{{network}}</span>
|
||||||
<span class="label label-info">{{runtime}} minutes</span>
|
<span class="label label-info">{{runtime}} minutes</span>
|
||||||
<span class="label label-info">{{path}}</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -77,9 +77,9 @@
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select id="inputBacklogSetting" class="inputClass x-backlog-setting" name="backlogSetting">
|
<select id="inputBacklogSetting" class="inputClass x-backlog-setting" name="backlogSetting">
|
||||||
<option value="0">Inherit</option>
|
<option value="inherit">Inherit</option>
|
||||||
<option value="1">Enable</option>
|
<option value="enable">Enable</option>
|
||||||
<option value="2">Disable</option>
|
<option value="disable">Disable</option>
|
||||||
</select>
|
</select>
|
||||||
<span class="help-inline">
|
<span class="help-inline">
|
||||||
<i class="icon-question-sign" title="Should NzbDrone search for missing episodes every 30 days?"></i>
|
<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 () {
|
traktUrl : function () {
|
||||||
return "http://trakt.tv/show/" + this.get('titleSlug');
|
return "http://trakt.tv/show/" + this.get('titleSlug');
|
||||||
},
|
},
|
||||||
|
imdbUrl : function () {
|
||||||
|
return "http://imdb.com/title/" + this.get('imdbId');
|
||||||
|
},
|
||||||
isContinuing : function () {
|
isContinuing : function () {
|
||||||
return this.get('status') === 'continuing';
|
return this.get('status') === 'continuing';
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue