Add series fixes

Fixed: Link to TheTVDB instead of Trakt on add series
Fixed: Don't show year 0 on add series
pull/6/head
Mark McDowall 10 years ago
parent 07c71296fb
commit a9d668b48d

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

@ -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));
});
});

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

Loading…
Cancel
Save