mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Done #924
This commit is contained in:
parent
9886c40499
commit
d17c0ef88a
2 changed files with 9 additions and 5 deletions
|
@ -480,7 +480,7 @@ $(function () {
|
|||
var date = new Date(result.firstAired);
|
||||
var year = date.getFullYear();
|
||||
var context = {
|
||||
status : result.status,
|
||||
status: result.status,
|
||||
posterPath: result.banner,
|
||||
id: result.id,
|
||||
title: result.seriesName,
|
||||
|
@ -499,8 +499,9 @@ $(function () {
|
|||
disableTvRequestsBySeason: result.disableTvRequestsBySeason,
|
||||
enableTvRequestsForOnlySeries: result.enableTvRequestsForOnlySeries,
|
||||
trailer: result.trailer,
|
||||
homepage: result.homepage
|
||||
};
|
||||
homepage: result.homepage,
|
||||
firstAired: Humanize(result.firstAired)
|
||||
};
|
||||
|
||||
return context;
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
}
|
||||
|
||||
<!-- Movie and TV Results template -->
|
||||
<script id="search-template" type="text/x-handlebars-template">
|
||||
<script id="search-template" type="text/x-handlebars-template">
|
||||
<div class="row">
|
||||
<div id="{{id}}imgDiv" class="col-sm-2">
|
||||
|
||||
|
@ -129,7 +129,7 @@
|
|||
{{/if_eq}}
|
||||
{{#if_eq type "tv"}}
|
||||
{{#if posterPath}}
|
||||
<img class="img-responsive" width="150" src="{{posterPath}}" alt="poster">
|
||||
<img class="img-responsive" width="150" src="{{posterPath}}" alt="poster">
|
||||
{{/if}}
|
||||
{{/if_eq}}
|
||||
|
||||
|
@ -154,6 +154,9 @@
|
|||
{{#if trailer}}
|
||||
<a href="{{trailer}}" target="_blank"><span class="label label-info">Trailer</span></a>
|
||||
{{/if}}
|
||||
{{#if firstAired}}
|
||||
<span class="label label-info" target="_blank">First Aired: {{firstAired}}</span>
|
||||
{{/if}}
|
||||
{{#if available}}
|
||||
<span class="label label-success">@UI.Search_Available_on_plex</span>
|
||||
{{else}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue