mirror of
https://github.com/zoriya/Kyoo.Angular.git
synced 2025-12-05 22:06:12 +00:00
SearchView: Fixing show title
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
</button>
|
||||
</div>
|
||||
<ng-container *ngIf="displayShowTitle; else noTitle;">
|
||||
<h6 *ngIf="episode.seasonNumber != 0; else elseBlock;" class="title">{{episode.showTitle}} - S{{episode.seasonNumber}}:E{{episode.episodeNumber}}</h6>
|
||||
<ng-template #elseBlock><h6 class="title">{{episode.showTitle}}</h6></ng-template>
|
||||
<h6 *ngIf="episode.seasonNumber != 0; else elseBlock;" class="title">{{episode.show.title}} - S{{episode.seasonNumber}}:E{{episode.episodeNumber}}</h6>
|
||||
<ng-template #elseBlock><h6 class="title">{{episode.show.title}}</h6></ng-template>
|
||||
<p class="subtitle">{{episode.title}}</p>
|
||||
</ng-container>
|
||||
<ng-template #noTitle>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { ExternalID } from "../external-id";
|
||||
import { IResource } from "./resource";
|
||||
import { Show } from "./show";
|
||||
|
||||
export interface Episode extends IResource
|
||||
{
|
||||
@@ -10,6 +11,6 @@ export interface Episode extends IResource
|
||||
overview: string;
|
||||
releaseDate: string;
|
||||
runtime: number;
|
||||
showTitle: string;
|
||||
show: Show;
|
||||
externalIDs: ExternalID[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user