Made a big boo boo but fixed it :D (forgot to close span on View On buttons)

pull/4003/head
twanariens 4 years ago
parent 8c37564717
commit 52abf18b87

@ -33,50 +33,49 @@
{{'Search.ViewOnJellyfin' | translate}} {{'Search.ViewOnJellyfin' | translate}}
<i class="fa fa-play-circle fa-2x"></i> <i class="fa fa-play-circle fa-2x"></i>
</a> </a>
</span>
<button mat-raised-button class="btn-green btn-spacing" *ngIf="movie.available && !movie.plexUrl && !movie.embyUrl && !movie.jellyfinUrl"> {{ <button mat-raised-button class="btn-green btn-spacing" *ngIf="movie.available && !movie.plexUrl && !movie.embyUrl && !movie.jellyfinUrl"> {{
'Common.Available' | translate }}</button> 'Common.Available' | translate }}</button>
<span *ngIf="!movie.available"> <span *ngIf="!movie.available">
</span> <span *ngIf="movie.requested || movie.approved; then requestedBtn else notRequestedBtn"></span>
<span *ngIf="!movie.available"> <ng-template #requestedBtn>
<span *ngIf="movie.requested || movie.approved; then requestedBtn else notRequestedBtn"></span> <button mat-raised-button *ngIf="!hasRequest || hasRequest && movieRequest && !movieRequest.denied" class="btn-spacing" color="warn" [disabled]>
</span> <i class="fa fa-check"></i>
{{ 'Common.Requested' | translate }}
<ng-template #requestedBtn> </button>
<button mat-raised-button *ngIf="!hasRequest || hasRequest && movieRequest && !movieRequest.denied" class="btn-spacing" color="warn" [disabled]><i class="fa fa-check"></i> </ng-template>
{{ 'Common.Requested' | translate }}</button> <ng-template #notRequestedBtn>
</ng-template> <button mat-raised-button class="btn-spacing" color="primary" (click)="request()">
<ng-template #notRequestedBtn> <i *ngIf="movie.requestProcessing" class="fa fa-circle-o-notch fa-spin fa-fw"></i>
<button mat-raised-button class="btn-spacing" color="primary" (click)="request()"> <i *ngIf="!movie.requestProcessing && !movie.processed" class="fa fa-plus"></i>
<i *ngIf="movie.requestProcessing" class="fa fa-circle-o-notch fa-spin fa-fw"></i> <i <i *ngIf="movie.processed && !movie.requestProcessing" class="fa fa-check"></i>
*ngIf="!movie.requestProcessing && !movie.processed" class="fa fa-plus"></i> {{'Common.Request' | translate }}
<i *ngIf="movie.processed && !movie.requestProcessing" class="fa fa-check"></i> {{ </button>
'Common.Request' | translate }}</button> </ng-template>
</ng-template> </span>
</span> <span *ngIf="isAdmin && hasRequest">
<span *ngIf="isAdmin && hasRequest"> <button *ngIf="!movie.approved" (click)="approve()" mat-raised-button class="btn-spacing" color="accent">
<button *ngIf="!movie.approved" (click)="approve()" mat-raised-button class="btn-spacing" color="accent"> <i class="fa fa-plus"></i> {{ 'Common.Approve' | translate }}
<i class="fa fa-plus"></i> {{ 'Common.Approve' | translate }} </button>
</button> <button *ngIf="!movie.available" (click)="markAvailable()" mat-raised-button class="btn-spacing"
<button *ngIf="!movie.available" (click)="markAvailable()" mat-raised-button class="btn-spacing" color="accent">
color="accent"> <i class="fa fa-plus"></i> {{ 'Requests.MarkAvailable' | translate }}
<i class="fa fa-plus"></i> {{ 'Requests.MarkAvailable' | translate }} </button>
</button>
<button *ngIf="movieRequest && !movieRequest.denied && !movie.available" mat-raised-button class="btn-spacing" color="warn" (click)="deny()">
<button *ngIf="movieRequest && !movieRequest.denied && !movie.available" mat-raised-button class="btn-spacing" color="warn" <i class="fa fa-times"></i> {{'Requests.Deny' | translate }}
(click)="deny()"> </button>
<i class="fa fa-times"></i> {{ <button *ngIf="movieRequest && movieRequest.denied" [matTooltip]="movieRequest.deniedReason" mat-raised-button class="btn-spacing" color="warn">
'Requests.Deny' | translate }}</button> <i class="fa fa-times"></i> {{'MediaDetails.Denied' | translate }}
<button *ngIf="movieRequest && movieRequest.denied" [matTooltip]="movieRequest.deniedReason" </button>
mat-raised-button class="btn-spacing" color="warn"> </span>
<i class="fa fa-times"></i> {{
'MediaDetails.Denied' | translate }}</button> <button mat-raised-button class="btn-spacing" color="danger" (click)="issue()">
</span> <i class="fa fa-exclamation"></i> {{'Requests.ReportIssue' | translate }}
</button>
<button mat-raised-button class="btn-spacing" color="danger" (click)="issue()"> <button *ngIf="movie.belongsToCollection" [routerLink]="'/discover/collection/' + movie.belongsToCollection.id" mat-raised-button class="btn-spacing">
<i class="fa fa-exclamation"></i> {{ <i class="fa fa-list"></i> {{'MediaDetails.ViewCollection' | translate}}
'Requests.ReportIssue' | translate }}</button> </button>
<button *ngIf="movie.belongsToCollection" [routerLink]="'/discover/collection/' + movie.belongsToCollection.id" mat-raised-button class="btn-spacing"><i class="fa fa-list"></i> {{'MediaDetails.ViewCollection' | translate}}</button>
</div> </div>
<!-- Setting/Configuration admin area --> <!-- Setting/Configuration admin area -->
@ -149,7 +148,6 @@
</a> </a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</mat-expansion-panel> </mat-expansion-panel>
@ -170,7 +168,6 @@
</a> </a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</mat-expansion-panel> </mat-expansion-panel>
@ -191,29 +188,10 @@
</mat-accordion> </mat-accordion>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="bottom-page-gap"> <div class="bottom-page-gap">
</div> </div>
</section> </section>
</div> </div>

Loading…
Cancel
Save