1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-30 19:56:54 +00:00

Fixed: Show next airing on poster/overview even if series has ended

This commit is contained in:
Mark McDowall 2014-12-14 14:16:55 -08:00
parent 9686c2579b
commit a882aaf6ac
2 changed files with 8 additions and 10 deletions

View file

@ -35,13 +35,13 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-10 col-xs-8"> <div class="col-md-10 col-xs-8">
{{#if_eq status compare="continuing"}} {{#if_eq status compare="ended"}}
<span class="label label-danger">Ended</span>
{{/if_eq}}
{{#if nextAiring}} {{#if nextAiring}}
<span class="label label-default">{{RelativeDate nextAiring}}</span> <span class="label label-default">{{RelativeDate nextAiring}}</span>
{{/if}} {{/if}}
{{else}}
<span class="label label-danger">Ended</span>
{{/if_eq}}
{{seasonCountHelper}} {{seasonCountHelper}}

View file

@ -22,11 +22,9 @@
<div class="labels"> <div class="labels">
{{> EpisodeProgressPartial }} {{> EpisodeProgressPartial }}
{{#if_eq status compare="continuing"}}
{{#if nextAiring}} {{#if nextAiring}}
<span class="label label-default">{{RelativeDate nextAiring}}</span> <span class="label label-default">{{RelativeDate nextAiring}}</span>
{{/if}} {{/if}}
{{/if_eq}}
</div> </div>
</div> </div>
</div> </div>