1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Add series fixes

Fixed: Link to TheTVDB instead of Trakt on add series
Fixed: Don't show year 0 on add series
This commit is contained in:
Mark McDowall 2015-01-01 14:55:47 -08:00
parent 07c71296fb
commit a9d668b48d
3 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<div class="search-item {{#unless isExisting}}search-item-new{{/unless}}">
<div class="row">
<div class="col-md-2">
<a href="{{traktUrl}}" target="_blank">
<a href="{{tvdbUrl}}" target="_blank">
<img class="new-series-poster" src="{{remotePoster}}"
{{defaultImg}} >
</a>

View File

@ -69,6 +69,10 @@ define(
return this.title;
}
if (!this.year) {
return this.title;
}
return new Handlebars.SafeString('{0} <span class="year">({1})</span>'.format(this.title, this.year));
});
});

View File

@ -208,7 +208,6 @@
<div class="form-group">
<label class="col-sm-3 control-label">Anime Episode Example</label>
<div class="col-sm-8">
<p class="form-control-static x-anime-episode-example naming-example"></p>
</div>