|
|
|
@ -35,7 +35,22 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--Next to poster-->
|
|
|
|
|
|
|
|
|
|
<div class="col-6 media-row">
|
|
|
|
|
<a *ngIf="movie.imdbId" class="media-icons" href="https://imdb.com/title/{{movie.imdbId}}" target="_blank">
|
|
|
|
|
<i class="fa fa-imdb fa-2x grow"></i>
|
|
|
|
|
</a>
|
|
|
|
|
<a *ngIf="movie.externalIds.twitterId" class="media-icons" href="https://twitter.com/{{movie.externalIds.twitterId}}"
|
|
|
|
|
target="_blank">
|
|
|
|
|
<i class="fa fa-twitter fa-2x grow"></i>
|
|
|
|
|
</a>
|
|
|
|
|
<a *ngIf="movie.externalIds.facebookId" class="media-icons" href="https://facebook.com/{{movie.externalIds.facebookId}}"
|
|
|
|
|
target="_blank">
|
|
|
|
|
<i class="fa fa-facebook fa-2x grow"></i>
|
|
|
|
|
</a> <a *ngIf="movie.externalIds.instagramId" class="media-icons" href="https://instagram.com/{{movie.externalIds.instagramId}}"
|
|
|
|
|
target="_blank">
|
|
|
|
|
<i class="fa fa-istagram fa-2x grow"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
@ -85,26 +100,48 @@
|
|
|
|
|
</mat-card>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-2 card-full">
|
|
|
|
|
<div><button mat-raised-button class="btn-spacing" color="accent">Request</button></div>
|
|
|
|
|
<div><button mat-raised-button class="btn-green btn-spacing">Available</button></div>
|
|
|
|
|
<div><button mat-raised-button class="btn-green btn-spacing" *ngIf="movie.available"> {{ 'Common.Available' | translate }}</button></div>
|
|
|
|
|
<div *ngIf="!movie.available">
|
|
|
|
|
<div *ngIf="movie.requested || movie.approved; then requestedBtn else notRequestedBtn"></div>
|
|
|
|
|
<ng-template #requestedBtn>
|
|
|
|
|
<button mat-raised-button class="btn-spacing btn-orange" [disabled]><i
|
|
|
|
|
class="fa fa-check"></i> {{ 'Common.Requested' | translate }}</button>
|
|
|
|
|
</ng-template>
|
|
|
|
|
<ng-template #notRequestedBtn>
|
|
|
|
|
<button mat-raised-button class="btn-spacing"
|
|
|
|
|
(click)="request()">
|
|
|
|
|
<i *ngIf="movie.requestProcessing" class="fa fa-circle-o-notch fa-spin fa-fw"></i> <i
|
|
|
|
|
*ngIf="!movie.requestProcessing && !movie.processed" class="fa fa-plus"></i>
|
|
|
|
|
<i *ngIf="movie.processed && !movie.requestProcessing" class="fa fa-check"></i> {{
|
|
|
|
|
'Common.Request' | translate }}</button>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</div>
|
|
|
|
|
<div><button mat-raised-button class="btn-spacing" color="warn">Deny</button></div>
|
|
|
|
|
<div *ngIf="result.available">
|
|
|
|
|
<a *ngIf="result.plexUrl" mat-raised-button style="text-align: right" class="btn-spacing btn-greem" href="{{result.plexUrl}}"
|
|
|
|
|
target="_blank"><i class="fa fa-eye"></i> {{'Search.ViewOnPlex' | translate}}</a>
|
|
|
|
|
<a *ngIf="result.embyUrl" mat-raised-button class="btn-green btn-spacing"
|
|
|
|
|
href="{{result.embyUrl}}" target="_blank"><i class="fa fa-eye"></i> {{'Search.ViewOnEmby' |
|
|
|
|
|
translate}}</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row card-spacer">
|
|
|
|
|
<div class="col-md-2">
|
|
|
|
|
<div><div>
|
|
|
|
|
<a *ngIf="movie.homepage" class="btn-spacing" href="{{movie.homepage}}" target="_blank"
|
|
|
|
|
mat-raised-button color="accent">Home Page</a></div>
|
|
|
|
|
<div>
|
|
|
|
|
<a *ngIf="movie.id" href="https://www.themoviedb.org/movie/{{movie.id}}"
|
|
|
|
|
target="_blank" mat-raised-button class="btn-blue btn-spacing">The Movie DB</a></div>
|
|
|
|
|
<div>
|
|
|
|
|
<a *ngIf="movie.imdbId" href="https://www.imdb.com/title/tt1727824/{{movie.imdbId}}" target="_blank"
|
|
|
|
|
mat-raised-button class="imdb-color btn-spacing">IMDb</a></div>
|
|
|
|
|
<div>
|
|
|
|
|
<a *ngIf="movie.videos.results.length > 0" mat-raised-button class="btn-blue btn-spacing"
|
|
|
|
|
(click)="openDialog()">Trailer</a></div>
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
|
|
|
|
<a *ngIf="movie.homepage" class="btn-spacing" href="{{movie.homepage}}" target="_blank"
|
|
|
|
|
mat-raised-button color="accent">Home Page</a></div>
|
|
|
|
|
<div>
|
|
|
|
|
<a *ngIf="movie.id" href="https://www.themoviedb.org/movie/{{movie.id}}" target="_blank"
|
|
|
|
|
mat-raised-button class="btn-blue btn-spacing">The Movie DB</a></div>
|
|
|
|
|
<div>
|
|
|
|
|
<a *ngIf="movie.imdbId" href="https://www.imdb.com/title/tt1727824/{{movie.imdbId}}" target="_blank"
|
|
|
|
|
mat-raised-button class="imdb-color btn-spacing">IMDb</a></div>
|
|
|
|
|
<div>
|
|
|
|
|
<a *ngIf="movie.videos.results.length > 0" mat-raised-button class="btn-blue btn-spacing"
|
|
|
|
|
(click)="openDialog()">Trailer</a></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|