mirror of https://github.com/Ombi-app/Ombi
parent
2aaeb2bd38
commit
448f196165
@ -1,14 +1,20 @@
|
|||||||
<mat-nav-list>
|
<mat-nav-list>
|
||||||
<a id="requestDelete" *ngIf="data.isAdmin || data.manageOwnRequests" (click)="delete()" mat-list-item>
|
|
||||||
<span mat-line>{{'Requests.RequestPanel.Delete' | translate}}</span>
|
|
||||||
</a>
|
|
||||||
<a id="requestApprove" *ngIf="data.canApprove && data.isAdmin && data.hasRegularRequest" (click)="approve()" mat-list-item>
|
<a id="requestApprove" *ngIf="data.canApprove && data.isAdmin && data.hasRegularRequest" (click)="approve()" mat-list-item>
|
||||||
<span mat-line>{{'Requests.RequestPanel.Approve' | translate}}</span>
|
<span mat-line>{{'Requests.RequestPanel.Approve' | translate}}</span>
|
||||||
</a>
|
</a>
|
||||||
|
<a id="requestDeny" *ngIf="data.canApprove && data.isAdmin && data.hasRegularRequest" (click)="deny()" mat-list-item>
|
||||||
|
<span mat-line>{{'Requests.RequestPanel.Deny' | translate}}</span>
|
||||||
|
</a>
|
||||||
<a id="requestApprove4k" *ngIf="data.canApprove && data.isAdmin && data.has4kRequest ?? false" (click)="approve4K()" mat-list-item>
|
<a id="requestApprove4k" *ngIf="data.canApprove && data.isAdmin && data.has4kRequest ?? false" (click)="approve4K()" mat-list-item>
|
||||||
<span mat-line>{{'Requests.RequestPanel.Approve4K' | translate}}</span>
|
<span mat-line>{{'Requests.RequestPanel.Approve4K' | translate}}</span>
|
||||||
</a>
|
</a>
|
||||||
|
<a id="requestDeny4k" *ngIf="data.canApprove && data.isAdmin && data.has4kRequest ?? false" (click)="deny4K()" mat-list-item>
|
||||||
|
<span mat-line>{{'Requests.RequestPanel.Deny4K' | translate}}</span>
|
||||||
|
</a>
|
||||||
<a id="requestChangeAvailability" *ngIf="data.type !== RequestType.tvShow && data.isAdmin" (click)="changeAvailability()" mat-list-item>
|
<a id="requestChangeAvailability" *ngIf="data.type !== RequestType.tvShow && data.isAdmin" (click)="changeAvailability()" mat-list-item>
|
||||||
<span mat-line>{{'Requests.RequestPanel.ChangeAvailability' | translate}}</span>
|
<span mat-line>{{'Requests.RequestPanel.ChangeAvailability' | translate}}</span>
|
||||||
</a>
|
</a>
|
||||||
|
<a id="requestDelete" *ngIf="data.isAdmin || data.manageOwnRequests" (click)="delete()" mat-list-item>
|
||||||
|
<span mat-line>{{'Requests.RequestPanel.Delete' | translate}}</span>
|
||||||
|
</a>
|
||||||
</mat-nav-list>
|
</mat-nav-list>
|
@ -1,5 +1,6 @@
|
|||||||
export enum UpdateType {
|
export enum UpdateType {
|
||||||
Delete,
|
Delete,
|
||||||
Approve,
|
Approve,
|
||||||
Availability
|
Availability,
|
||||||
|
Deny
|
||||||
}
|
}
|
Loading…
Reference in new issue