|
|
|
@ -2,6 +2,16 @@
|
|
|
|
|
<mat-spinner [color]="'accent'"></mat-spinner>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="tv">
|
|
|
|
|
<div *ngIf="tv.id === 0; else main">
|
|
|
|
|
<div class="small-middle-container no-info">
|
|
|
|
|
<h1><i class="fa fa-frown-o" aria-hidden="true"></i></h1><h3> {{ 'MediaDetails.NotEnoughInfo' | translate }}</h3>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ng-template #main>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
<top-banner [background]="tv.background" [available]="tv.available" [title]="tv.title" [releaseDate]="tv.firstAired" [tagline]="tv.certification"></top-banner>
|
|
|
|
|
|
|
|
|
@ -9,7 +19,7 @@
|
|
|
|
|
<div class="small-middle-container">
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
<media-poster [posterPath]="tv.images.medium"></media-poster>
|
|
|
|
|
<media-poster [posterPath]="tv.images?.medium"></media-poster>
|
|
|
|
|
|
|
|
|
|
<!--Next to poster-->
|
|
|
|
|
<div class="col-12 col-lg-3 col-xl-3 media-row">
|
|
|
|
@ -107,4 +117,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</div>
|