mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 19:40:05 -07:00
small fix for tv
This commit is contained in:
parent
ae73b78939
commit
6c3d7b34d3
1 changed files with 48 additions and 48 deletions
|
@ -16,58 +16,62 @@
|
||||||
|
|
||||||
<top-banner [background]="tv.background" [available]="tv.available" [title]="tv.title"
|
<top-banner [background]="tv.background" [available]="tv.available" [title]="tv.title"
|
||||||
[releaseDate]="tv.firstAired" [tagline]="tv.certification"></top-banner>
|
[releaseDate]="tv.firstAired" [tagline]="tv.certification"></top-banner>
|
||||||
|
<div class="social-icons-container">
|
||||||
|
<social-icons
|
||||||
|
[homepage]="tv.homepage"
|
||||||
|
[tvdbId]="tv.id"
|
||||||
|
[hasTrailer]="tv.trailer"
|
||||||
|
(openTrailer)="openDialog()"
|
||||||
|
[imdbId]="tv.imdbId"
|
||||||
|
[available]="tv.available || tv.partlyAvailable"
|
||||||
|
[plexUrl]="tv.plexUrl"
|
||||||
|
[embyUrl]="tv.embyUrl"
|
||||||
|
[jellyfinUrl]="tv.jellyfinUrl">
|
||||||
|
</social-icons>
|
||||||
|
</div>
|
||||||
|
|
||||||
<section id="info-wrapper">
|
<section id="info-wrapper">
|
||||||
<div class="small-middle-container">
|
<div class="small-middle-container">
|
||||||
<div class="row justify-content-center justify-content-sm-start">
|
<div class="row justify-content-center justify-content-sm-start header-container">
|
||||||
|
<div class="details-poster-container">
|
||||||
<media-poster [posterPath]="tv.images?.medium"></media-poster>
|
<media-poster [posterPath]="tv.images?.medium"></media-poster>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!--Next to poster-->
|
<!--Next to poster-->
|
||||||
<div class="col-12 col-lg-2 col-xl-3 media-row">
|
<div class="details-button-container">
|
||||||
|
<div class="col-12 media-row">
|
||||||
|
<button *ngIf="!tv.fullyAvailable" mat-raised-button class="btn-spacing" color="primary"
|
||||||
|
(click)="request()"><i class="fas fa-plus"></i>
|
||||||
|
{{ 'Common.Request' | translate }}</button>
|
||||||
|
|
||||||
<social-icons [homepage]="tv.homepage" [tvdbId]="tv.id" [hasTrailer]="tv.trailer"
|
<button *ngIf="tv.fullyAvailable" mat-raised-button class="btn-spacing" color="accent"
|
||||||
(openTrailer)="openDialog()" [imdbId]="tv.imdbId" [available]="tv.available || tv.partlyAvailable"
|
[disabled]>
|
||||||
[plexUrl]="tv.plexUrl" [embyUrl]="tv.embyUrl" [jellyfinUrl]="tv.jellyfinUrl">
|
<i class="fas fa-check"></i> {{'Common.Available' | translate }}</button>
|
||||||
</social-icons>
|
<button *ngIf="tv.partlyAvailable && !tv.fullyAvailable" mat-raised-button
|
||||||
|
class="btn-spacing" color="accent" [disabled]>
|
||||||
|
<i class="fas fa-check"></i> {{'Common.PartiallyAvailable' | translate }}</button>
|
||||||
|
|
||||||
</div>
|
<button mat-raised-button class="btn-spacing" color="danger" (click)="issue()">
|
||||||
|
<i class="fas fa-exclamation"></i> {{
|
||||||
|
'Requests.ReportIssue' | translate }}</button>
|
||||||
|
|
||||||
<div class="col-12 col-lg-5 col-xl-5 media-row">
|
</div>
|
||||||
|
<!-- Setting/Configuration admin area -->
|
||||||
<!-- <button *ngIf="!tv.fullyAvailable" mat-raised-button class="btn-spacing" color="primary"
|
<div class="col-12 col-lg-1 col-xl-1 media-row content-end">
|
||||||
(click)="request()"><i class="fas fa-plus"></i>
|
<button *ngIf="isAdmin" mat-icon-button [matMenuTriggerFor]="menu">
|
||||||
{{ 'Common.Request' | translate }}</button> -->
|
<mat-icon>settings</mat-icon>
|
||||||
|
|
||||||
<button *ngIf="tv.fullyAvailable" mat-raised-button class="btn-spacing" color="accent"
|
|
||||||
[disabled]>
|
|
||||||
<i class="fas fa-check"></i> {{'Common.Available' | translate }}</button>
|
|
||||||
<button *ngIf="tv.partlyAvailable && !tv.fullyAvailable" mat-raised-button
|
|
||||||
class="btn-spacing" color="accent" [disabled]>
|
|
||||||
<i class="fas fa-check"></i> {{'Common.PartiallyAvailable' | translate }}</button>
|
|
||||||
|
|
||||||
<button mat-raised-button class="btn-spacing" color="danger" (click)="issue()">
|
|
||||||
<i class="fas fa-exclamation"></i> {{
|
|
||||||
'Requests.ReportIssue' | translate }}</button>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- Setting/Configuration admin area -->
|
|
||||||
<div class="col-12 col-lg-1 col-xl-1 media-row content-end">
|
|
||||||
<button *ngIf="isAdmin" mat-icon-button [matMenuTriggerFor]="menu">
|
|
||||||
<mat-icon>settings</mat-icon>
|
|
||||||
</button>
|
|
||||||
<mat-menu #menu="matMenu">
|
|
||||||
<button mat-menu-item (click)="openRequestOnBehalf()" [disabled]="fullyAvailable">
|
|
||||||
<mat-icon>supervised_user_circle</mat-icon>
|
|
||||||
<span>{{'MediaDetails.RequestOnBehalf' | translate}}</span>
|
|
||||||
</button>
|
</button>
|
||||||
<button mat-menu-item [disabled]="!showAdvanced || !showRequest"
|
<mat-menu #menu="matMenu">
|
||||||
(click)="openAdvancedOptions()">
|
<button mat-menu-item (click)="openRequestOnBehalf()" [disabled]="fullyAvailable">
|
||||||
<mat-icon>movie_filter</mat-icon>
|
<mat-icon>supervised_user_circle</mat-icon>
|
||||||
<span>{{'MediaDetails.SonarrConfiguration' | translate}}</span>
|
<span>{{'MediaDetails.RequestOnBehalf' | translate}}</span>
|
||||||
</button>
|
</button>
|
||||||
</mat-menu>
|
<button mat-menu-item [disabled]="!showAdvanced || !showRequest"
|
||||||
|
(click)="openAdvancedOptions()">
|
||||||
|
<mat-icon>movie_filter</mat-icon>
|
||||||
|
<span>{{'MediaDetails.SonarrConfiguration' | translate}}</span>
|
||||||
|
</button>
|
||||||
|
</mat-menu>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -79,10 +83,7 @@
|
||||||
[advancedOptions]="showAdvanced"></tv-information-panel>
|
[advancedOptions]="showAdvanced"></tv-information-panel>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="col-12 col-md-10">
|
<div class="col-12 col-md-10">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
|
@ -95,7 +96,6 @@
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<cast-carousel [cast]="tv.cast"></cast-carousel>
|
<cast-carousel [cast]="tv.cast"></cast-carousel>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue