@ -31,16 +31,22 @@
< / div >
< / div >
< div >
< div >
< span class = "label" > {{'MediaDetails.Availability' | translate }}< / span >
< span class = "label" > {{'MediaDetails.Availability' | translate }}< / span >
< span * ngIf = "movie.available "> {{'Common.Available' | translate}}< / span >
< span * ngIf = "movie.available || movie.available4K "> {{'Common.Available' | translate}}< / span >
< span * ngIf = "!movie.available "> {{'Common.NotAvailable' | translate}}< / span >
< span * ngIf = "!movie.available && !movie.available4K "> {{'Common.NotAvailable' | translate}}< / span >
< / div >
< / div >
< div * ngIf = " !movie.available">
< div * ngIf = " ( !movie.available && movie.requested) || (!movie.available4K && movie.has4KRequest) ">
< span class = "label" > {{'MediaDetails.RequestStatus' | translate }}< / span >
< span class = "label" > {{'MediaDetails.RequestStatus' | translate }}< / span >
< div * ngIf = "movie.denied" > {{'Common.Denied' | translate}}< / div >
< div * ngIf = "!movie.available && movie.requested" >
< div * ngElseIf = "movie.approved && !movie.available" > {{'Common.ProcessingRequest' | translate}}< / div >
< div * ngIf = "movie.denied" > {{'Common.RequestDenied' | translate}}< / div >
< div * ngElseIf = "movie.requested && !movie.approved && !movie.available" > {{'Common.PendingApproval' | translate}}
< div * ngIf = "movie.approved && !movie.available" > {{'Common.ProcessingRequest' | translate}}< / div >
< div * ngIf = "movie.requested && !movie.approved" > {{'Common.PendingApproval' | translate}}< / div >
<!-- <div *ngIf="!movie.requested && !movie.available && !movie.approved">{{'Common.NotRequested' | translate}}</div> -->
< / div >
< / div >
< div * ngElseIf = "!movie.requested && !movie.available && !movie.approved" > {{'Common.NotRequested' | translate}}
< div * ngIf = "!movie.available4K && movie.has4KRequest" >
< div * ngIf = "movie.denied4K" > {{'Common.RequestDenied4K' | translate}}< / div >
< div * ngIf = "movie.approved4K && !movie.available4K" > {{'Common.ProcessingRequest4K' | translate}}< / div >
< div * ngIf = "movie.requested4K && !movie.approved4K && !movie.available4K" > {{'Common.PendingApproval4K' | translate}}< / div >
<!-- <div *ngIf="!movie.requested4K && !movie.available4K && !movie.approved4K">{{'Common.NotRequested4K' | translate}}</div> -->
< / div >
< / div >
< / div >
< / div >
@ -51,7 +57,8 @@
< div * ngIf = "request" >
< div * ngIf = "request" >
< span class = "label" > {{'MediaDetails.RequestDate' | translate }}< / span >
< span class = "label" > {{'MediaDetails.RequestDate' | translate }}< / span >
{{request.requestedDate | amUserLocale | amDateFormat: 'LL'}}
< span * ngIf = "request.requestedDate < request.requestedDate4k" > {{request.requestedDate4k | amUserLocale | amDateFormat: 'LL'}}< / span >
< span * ngIf = "request.requestedDate > request.requestedDate4k" > {{request.requestedDate | amUserLocale | amDateFormat: 'LL'}}< / span >
< / div >
< / div >
< div * ngIf = "request && request.source !== RequestSource.Ombi" >
< div * ngIf = "request && request.source !== RequestSource.Ombi" >
@ -59,10 +66,15 @@
{{RequestSource[request.source]}}
{{RequestSource[request.source]}}
< / div >
< / div >
< div * ngIf = "request && request.denied ">
< div * ngIf = "request ">
< span class = "label" > {{'MediaDetails.DeniedReason' | translate }}< / span >
< span class = "label" > {{'MediaDetails.DeniedReason' | translate }}< / span >
< div * ngIf = "request.denied" >
< span id = "deniedReasonInfo" > {{request.deniedReason}}< / span >
< span id = "deniedReasonInfo" > {{request.deniedReason}}< / span >
< / div >
< / div >
< div * ngIf = "request.denied4K" >
< span id = "deniedReasonInfo4K" > {{request.deniedReason4K}}< / span >
< / div >
< / div >
< div * ngIf = "movie.quality" >
< div * ngIf = "movie.quality" >
@ -72,7 +84,7 @@
< div * ngIf = "movie.available4K" >
< div * ngIf = "movie.available4K" >
< span class = "label" > {{'MediaDetails.Quality' | translate }} < / span >
< span class = "label" > {{'MediaDetails.Quality' | translate }} < / span >
< span > {{"4K" | quality}}< / span >
< span > {{"4K" | quality}}< / span >
< / div >
< / div >
< div * ngIf = "advancedOptions && request && request.rootPathOverrideTitle" >
< div * ngIf = "advancedOptions && request && request.rootPathOverrideTitle" >